public function TypedConfigManager::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Config/TypedConfigManager.php \Drupal\Core\Config\TypedConfigManager::__construct()
Creates a new typed configuration manager.
Parameters
\Drupal\Core\Config\StorageInterface $configStorage: The storage object to use for reading schema data
\Drupal\Core\Config\StorageInterface $schemaStorage: The storage object to use for reading schema data
\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend to use for caching the definitions.
Overrides TypedDataManager::__construct
File
- core/
lib/ Drupal/ Core/ Config/ TypedConfigManager.php, line 53 - Contains \Drupal\Core\Config\TypedConfigManager.
Class
- TypedConfigManager
- Manages config schema type plugins.
Namespace
Drupal\Core\ConfigCode
public function __construct(StorageInterface $configStorage, StorageInterface $schemaStorage, CacheBackendInterface $cache, ModuleHandlerInterface $module_handler) {
$this->configStorage = $configStorage;
$this->schemaStorage = $schemaStorage;
$this
->setCacheBackend($cache, 'typed_config_definitions');
$this
->alterInfo('config_schema_info');
$this->moduleHandler = $module_handler;
}