function PluginManagerBase::getDiscovery

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Plugin/PluginManagerBase.php \Drupal\Component\Plugin\PluginManagerBase::getDiscovery()
  2. 8.9.x core/lib/Drupal/Component/Plugin/PluginManagerBase.php \Drupal\Component\Plugin\PluginManagerBase::getDiscovery()
  3. 11.x 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

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.