You are here

protected function PluginManagerBase::getDiscovery in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/PluginManagerBase.php \Drupal\Component\Plugin\PluginManagerBase::getDiscovery()

Gets the plugin discovery.

Return value

\Drupal\Component\Plugin\Discovery\DiscoveryInterface

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\Plugin

Code

protected function getDiscovery() {
  return $this->discovery;
}