Same name and namespace in other branches
- 8.9.x 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.
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;
}