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;
}
doc_Drupal
2016-10-29 09:49:55
Comments
Leave a Comment

Please login to continue.