public TypedConfigManager::__construct(StorageInterface $configStorage, StorageInterface $schemaStorage, CacheBackendInterface $cache, ModuleHandlerInterface $module_handler)
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 48
Class
- TypedConfigManager
- Manages config schema type plugins.
Namespace
Drupal\Core\Config
Code
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;
}
Please login to continue.