public LocaleConfigManager::__construct(StorageInterface $config_storage, StringStorageInterface $locale_storage, ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typed_config, ConfigurableLanguageManagerInterface $language_manager, LocaleDefaultConfigStorage $default_config_storage, ConfigManagerInterface$config_manager)
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.
\Drupal\Core\Config\ConfigManagerInterface $config_manager: The configuration manager.
File
- core/modules/locale/src/LocaleConfigManager.php, line 119
Class
- LocaleConfigManager
- Manages configuration supported in part by interface translation.
Namespace
Drupal\locale
Code
1 2 3 4 5 6 7 8 9 | public function __construct(StorageInterface $config_storage , StringStorageInterface $locale_storage , ConfigFactoryInterface $config_factory , TypedConfigManagerInterface $typed_config , ConfigurableLanguageManagerInterface $language_manager , LocaleDefaultConfigStorage $default_config_storage , ConfigManagerInterface $config_manager ) { $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 ; $this ->configManager = $config_manager ; } |
Please login to continue.