public function __construct(CacheBackendInterface
$cache_backend, LanguageManagerInterface
$language_manager, ModuleHandlerInterface
$module_handler, TypedConfigManagerInterface
$typed_config_manager, ThemeHandlerInterface
$theme_handler) { $this->typedConfigManager =
$typed_config_manager;
$this->factory =
new ContainerFactory($this, '\Drupal\config_translation\ConfigMapperInterface'
);
// Let others alter definitions with hook_config_translation_info_alter().
$this->moduleHandler =
$module_handler;
$this->themeHandler =
$theme_handler;
$this->
alterInfo('config_translation_info'
);
// Config translation only uses an info hook discovery, cache by language.
$cache_key = 'config_translation_info_plugins' . ':' .
$language_manager->
getCurrentLanguage()->
getId();
$this->
setCacheBackend($cache_backend,
$cache_key,
['config_translation_info_plugins'
]);
}