public function PluginManagerBase::getDefinitions in Service Container 7
Same name in this branch
- 7 src/Plugin/PluginManagerBase.php \Drupal\service_container\Plugin\PluginManagerBase::getDefinitions()
- 7 lib/Drupal/Component/Plugin/PluginManagerBase.php \Drupal\Component\Plugin\PluginManagerBase::getDefinitions()
Same name and namespace in other branches
- 7.2 src/Plugin/PluginManagerBase.php \Drupal\service_container\Plugin\PluginManagerBase::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.
Overrides DiscoveryInterface::getDefinitions
File
- src/
Plugin/ PluginManagerBase.php, line 43 - Contains \Drupal\service_container\Plugin\PluginManagerBase
Class
- PluginManagerBase
- Base class for plugin managers.
Namespace
Drupal\service_container\PluginCode
public function getDefinitions() {
return $this->discovery
->getDefinitions();
}