public function LocaleConfigManager::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/locale/src/LocaleConfigManager.php \Drupal\locale\LocaleConfigManager::__construct()
Creates a new typed configuration manager.
Parameters
\Drupal\Core\Config\StorageInterface $config_storage: The storage object to use for reading configuration data.
\Drupal\locale\StringStorageInterface $locale_storage: The locale storage to use for reading string translations.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory
\Drupal\Core\Config\TypedConfigManagerInterface $typed_config: The typed configuration manager.
\Drupal\language\ConfigurableLanguageManagerInterface $language_manager: The language manager.
\Drupal\locale\LocaleDefaultConfigStorage $default_config_storage: The locale default configuration storage.
File
- core/
modules/ locale/ src/ LocaleConfigManager.php, line 114 - Contains \Drupal\locale\LocaleConfigManager.
Class
- LocaleConfigManager
- Manages configuration supported in part by interface translation.
Namespace
Drupal\localeCode
public function __construct(StorageInterface $config_storage, StringStorageInterface $locale_storage, ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typed_config, ConfigurableLanguageManagerInterface $language_manager, LocaleDefaultConfigStorage $default_config_storage) {
$this->configStorage = $config_storage;
$this->localeStorage = $locale_storage;
$this->configFactory = $config_factory;
$this->typedConfigManager = $typed_config;
$this->languageManager = $language_manager;
$this->defaultConfigStorage = $default_config_storage;
}