protected function PluginManagerBase::getDiscovery in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Plugin/PluginManagerBase.php \Drupal\Component\Plugin\PluginManagerBase::getDiscovery()
- 9 core/lib/Drupal/Component/Plugin/PluginManagerBase.php \Drupal\Component\Plugin\PluginManagerBase::getDiscovery()
Gets the plugin discovery.
Return value
\Drupal\Component\Plugin\Discovery\DiscoveryInterface
2 calls to PluginManagerBase::getDiscovery()
- PluginManagerBase::getDefinition in core/
lib/ Drupal/ Component/ Plugin/ PluginManagerBase.php - Gets a specific plugin definition.
- PluginManagerBase::getDefinitions in core/
lib/ Drupal/ Component/ Plugin/ PluginManagerBase.php - Gets the definition of all plugins for this type.
1 method overrides PluginManagerBase::getDiscovery()
- DefaultPluginManager::getDiscovery in core/
lib/ Drupal/ Core/ Plugin/ DefaultPluginManager.php - Gets the plugin discovery.
File
- core/
lib/ Drupal/ Component/ Plugin/ PluginManagerBase.php, line 41
Class
- PluginManagerBase
- Base class for plugin managers.
Namespace
Drupal\Component\PluginCode
protected function getDiscovery() {
return $this->discovery;
}