Voting starts in March for the Drupal Association Board election.
I am trying to get (and perhaps even set) the translation of a configuration entity. I do not know how, the ConfigFactory doesn't have anything where I could set a language, no method, no argument, nothing. The ConfigFactoryInterface is not implemented by any other class. All the information provided by https://www.drupal.org/node/1928898 points to nonexisting things: setLanguage method on ConfigFactory, language.config. prefix objects (I am pretty sure that's just language. prefix because of what I see in LanguageConfigCollectionNameTrait ). removed setLanguage from ConfigFactory almost two years ago and left no change record behind. It has this to say in API changes "Active language for configuration is now set on the LanguageManager".
Is LanguageManagerInterface::setConfigOverrideLanguage the one to call, then?
- Fix https://www.drupal.org/node/1928898
- Add at least a @link to that handbook page but also if possible a code sample in ConfigFactory::get would be nice