By gábor hojtsy on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
main
Introduced in version:
12.0.0
Issue links:
Description:
Configuration translation does not depend on Interface Translation module anymore, but it still depends on Language module. The prior dependency was only for a one line utility function in Interface Translation module that did not actually require Interface Translation functionality or data anyway.
The constructor signature of the core/modules/config_translation/src/ConfigNamesMapper.php and core/modules/config_translation/src/ConfigEntityMapper.php plugin classes changed:
LocaleConfigManageris not passed in anymore.- The language manager passed (previously
LanguageManagerInterface) is now more strict asConfigurableLanguageManagerInterface. Given the module already depended on Language module (transitively via Interface Translation module), the language manager passed should already have been implementingConfigurableLanguageManagerInterface(which is what the Language module swaps the language manager for). So this is more about documenting this fact than an actual change of behavior.
Impacts:
Module developers