function FilteredPluginManagerTrait::getType
Same name in other branches
- 9 core/lib/Drupal/Core/Plugin/FilteredPluginManagerTrait.php \Drupal\Core\Plugin\FilteredPluginManagerTrait::getType()
- 8.9.x core/lib/Drupal/Core/Plugin/FilteredPluginManagerTrait.php \Drupal\Core\Plugin\FilteredPluginManagerTrait::getType()
- 11.x core/lib/Drupal/Core/Plugin/FilteredPluginManagerTrait.php \Drupal\Core\Plugin\FilteredPluginManagerTrait::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.
1 call to FilteredPluginManagerTrait::getType()
- FilteredPluginManagerTrait::getFilteredDefinitions in core/
lib/ Drupal/ Core/ Plugin/ FilteredPluginManagerTrait.php - Implements \Drupal\Core\Plugin\FilteredPluginManagerInterface::getFilteredDefinitions().
4 methods override FilteredPluginManagerTrait::getType()
- BlockManager::getType in core/
lib/ Drupal/ Core/ Block/ BlockManager.php - A string identifying the plugin type.
- ConditionManager::getType in core/
lib/ Drupal/ Core/ Condition/ ConditionManager.php - A string identifying the plugin type.
- LayoutPluginManager::getType in core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManager.php - A string identifying the plugin type.
- TestFilteredPluginManager::getType in core/
tests/ Drupal/ Tests/ Core/ Plugin/ FilteredPluginManagerTraitTest.php - A string identifying the plugin type.
File
-
core/
lib/ Drupal/ Core/ Plugin/ FilteredPluginManagerTrait.php, line 45
Class
- FilteredPluginManagerTrait
- Provides a trait for plugin managers that allow filtering plugin definitions.
Namespace
Drupal\Core\PluginCode
protected abstract function getType();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.