ConfigManager's constructor incorrectly ties itself to the TranslationManager class instead of the TranslationInterface.
| Comment | File | Size | Author |
|---|---|---|---|
| config-manager-translation-interface-hint.patch | 1.93 KB | mikey_p |
ConfigManager's constructor incorrectly ties itself to the TranslationManager class instead of the TranslationInterface.
| Comment | File | Size | Author |
|---|---|---|---|
| config-manager-translation-interface-hint.patch | 1.93 KB | mikey_p |
Comments
Comment #1
alexpottMakes sense - rtbc if green.
Comment #2
mikey_p commentedSeems like the TranslationInterface doesn't really match what's expected of the translation manager, core.services.yml calls initLangaugeManager and then calls addTranslator to add the string_translator service. Should we add those two methods to the TranslationInterface?
Comment #3
alexpott@mikey_p that is a separate issue to this one - the ConfigManager only needs the TranslationInterface part. Also core.services.yml is tied to TranslationManager so if that calls public non interface methods what's actually the problem?
Comment #5
catchThis looks fine. @mikey_p please open a new issue for the TranslationInterface change if you think that'd be useful.