public function TypedConfigManager::__construct

Creates a new typed configuration manager.

Parameters

\Drupal\Core\Config\StorageInterface $configStorage: The storage controller object to use for reading schema data

\Drupal\Core\Config\StorageInterface $schemaStorage: The storage controller object to use for reading schema data

Overrides TypedDataManager::__construct

1 call to TypedConfigManager::__construct()
LocaleConfigManager::__construct in drupal/core/modules/locale/lib/Drupal/locale/LocaleConfigManager.php
Creates a new typed configuration manager.
1 method overrides TypedConfigManager::__construct()
LocaleConfigManager::__construct in drupal/core/modules/locale/lib/Drupal/locale/LocaleConfigManager.php
Creates a new typed configuration manager.

File

drupal/core/lib/Drupal/Core/Config/TypedConfigManager.php, line 33
Contains \Drupal\Core\Config\TypedConfigManager.

Class

TypedConfigManager
Manages config type plugins.

Namespace

Drupal\Core\Config

Code

public function __construct(StorageInterface $configStorage, StorageInterface $schemaStorage) {
  $this->configStorage = $configStorage;
  $this->discovery = new SchemaDiscovery($schemaStorage);
  $this->factory = new TypedConfigElementFactory($this->discovery);
}