function DiscoveryInterface::getDefinitions
Same name in other branches
- 9 core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php \Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions()
- 8.9.x core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php \Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions()
- 11.x core/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.
See also
\Drupal\Core\Plugin\FilteredPluginManagerInterface::getFilteredDefinitions()
1 method overrides DiscoveryInterface::getDefinitions()
- EntityTypeManagerInterface::getDefinitions in core/
lib/ Drupal/ Core/ Entity/ EntityTypeManagerInterface.php
File
-
core/
lib/ Drupal/ Component/ Plugin/ Discovery/ DiscoveryInterface.php, line 38
Class
- DiscoveryInterface
- Defines the minimum requirements for a plugin discovery component.
Namespace
Drupal\Component\Plugin\DiscoveryCode
public function getDefinitions();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.