/** * Initialize controller */ protected function init() { parent::init(); $lang = $this->getLanguageService(); $lang->includeLLFile('EXT:rtehtmlarea/Resources/Private/Language/locallang_browselinkscontroller.xlf'); $lang->includeLLFile('EXT:rtehtmlarea/Resources/Private/Language/locallang_dialogs.xlf'); $this->contentLanguageService = GeneralUtility::makeInstance(LanguageService::class); }
/** * Initialize controller */ protected function init() { parent::init(); $this->getLanguageService()->includeLLFile('EXT:rtehtmlarea/Resources/Private/Language/locallang_dialogs.xlf'); }
/** * Initialize controller */ protected function init() { parent::init(); $this->contentLanguageService = GeneralUtility::makeInstance(LanguageService::class); }