public function DiscoveryInterface::getDefinitions in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php \Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions()
Gets the definition of all plugins for this type.
Return value
mixed[] An array of plugin definitions (empty array if no definitions were found). Keys are plugin IDs.
5 methods override DiscoveryInterface::getDefinitions()
- AnnotatedClassDiscovery::getDefinitions in modules/
providers/ service_container_annotation_discovery/ src/ Plugin/ Discovery/ AnnotatedClassDiscovery.php - Gets the definition of all plugins for this type.
- Container::getDefinitions in src/
DependencyInjection/ Container.php - Gets the definition of all plugins for this type.
- ContainerAwarePluginManager::getDefinitions in src/
Plugin/ ContainerAwarePluginManager.php - Gets the definition of all plugins for this type.
- CToolsPluginDiscovery::getDefinitions in src/
Plugin/ Discovery/ CToolsPluginDiscovery.php - Gets the definition of all plugins for this type.
- PluginManagerBase::getDefinitions in src/
Plugin/ PluginManagerBase.php - Gets the definition of all plugins for this type.
File
- lib/
Drupal/ Component/ Plugin/ Discovery/ DiscoveryInterface.php, line 42 - Contains \Drupal\Component\Plugin\Discovery\DiscoveryInterface.
Class
- DiscoveryInterface
- An interface defining the minimum requirements of building a plugin discovery component.
Namespace
Drupal\Component\Plugin\DiscoveryCode
public function getDefinitions();