/** * Initializes the injected language manager with the translation manager. * * This should be called right after instantiating the translation manager to * make it available to the language manager without introducing a circular * dependency. */ public function initLanguageManager() { $this->languageManager->setTranslation($this); }