W3cubDocs

/Drupal 8

protected function TypedConfigManager::getDiscovery

protected TypedConfigManager::getDiscovery()

Gets the plugin discovery.

Return value

\Drupal\Component\Plugin\Discovery\DiscoveryInterface

Overrides DefaultPluginManager::getDiscovery

File

core/lib/Drupal/Core/Config/TypedConfigManager.php, line 59

Class

TypedConfigManager
Manages config schema type plugins.

Namespace

Drupal\Core\Config

Code

protected function getDiscovery() {
  if (!isset($this->discovery)) {
    $this->discovery = new ConfigSchemaDiscovery($this->schemaStorage);
  }
  return $this->discovery;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!TypedConfigManager.php/function/TypedConfigManager::getDiscovery/8.1.x