protected function TestFilteredPluginManager::getType in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php \Drupal\Tests\Core\Plugin\TestFilteredPluginManager::getType()
- 9 core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php \Drupal\Tests\Core\Plugin\TestFilteredPluginManager::getType()
A string identifying the plugin type.
This string should be unique and generally will correspond to the string used by the discovery, e.g. the annotation class or the YAML file name.
Return value
string A string identifying the plugin type.
Overrides FilteredPluginManagerTrait::getType
File
- core/
tests/ Drupal/ Tests/ Core/ Plugin/ FilteredPluginManagerTraitTest.php, line 113
Class
- TestFilteredPluginManager
- Class that allows testing the trait.
Namespace
Drupal\Tests\Core\PluginCode
protected function getType() {
return 'the_type';
}