function ContextAwarePluginManagerTrait::getDefinitions
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php \Drupal\Core\Plugin\Context\ContextAwarePluginManagerTrait::getDefinitions()
- 10 core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php \Drupal\Core\Plugin\Context\ContextAwarePluginManagerTrait::getDefinitions()
- 11.x core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php \Drupal\Core\Plugin\Context\ContextAwarePluginManagerTrait::getDefinitions()
See \Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions().
6 calls to ContextAwarePluginManagerTrait::getDefinitions()
- ContextAwarePluginManagerTrait::getDefinitionsForContexts in core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextAwarePluginManagerTrait.php - See \Drupal\Core\Plugin\Context\ContextAwarePluginManagerInterface::getDefinitionsForContexts().
- FilteredPluginManagerTrait::getFilteredDefinitions in core/
lib/ Drupal/ Core/ Plugin/ FilteredPluginManagerTrait.php - Implements \Drupal\Core\Plugin\FilteredPluginManagerInterface::getFilteredDefinitions().
- LayoutPluginManager::getCategories in core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManager.php - Gets the names of all categories.
- LayoutPluginManager::getGroupedDefinitions in core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManager.php - LayoutPluginManager::getSortedDefinitions in core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManager.php
1 method overrides ContextAwarePluginManagerTrait::getDefinitions()
- TestFilteredPluginManager::getDefinitions in core/
tests/ Drupal/ Tests/ Core/ Plugin/ FilteredPluginManagerTraitTest.php - See \Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions().
File
-
core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextAwarePluginManagerTrait.php, line 29
Class
- ContextAwarePluginManagerTrait
- Provides a trait for plugin managers that support context-aware plugins.
Namespace
Drupal\Core\Plugin\ContextCode
public abstract function getDefinitions();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.