Speak now
Please Wait Image Converting Into Text...
Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Challenge yourself and boost your learning! Start the quiz now to earn credits.
Unlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
General Tech Bugs & Fixes . 1 year ago
Turn Your Knowledge into Earnings.
I need to override the function
protected function getLanguageParameter() { $states = $this->getBackendUser()->uc['moduleData']['web_view']['States']; $languages = $this->getPreviewLanguages(); $languageParameter = ''; if (isset($states['languageSelectorValue']) && isset($languages[$states['languageSelectorValue']])) { $languageParameter = '&L=' . (int)$states['languageSelectorValue']; } $languageParameter = '&L=1'; return $languageParameter; }
in the class TYPO3\CMS\Viewpage\Controller\ViewModuleController. It get called when you are open the View in the backend.
TYPO3\CMS\Viewpage\Controller\ViewModuleController
Lets say I would extend the class in my own extension. I already need a Hook that calls the function? But how can I get that hook?
General Tech 9 Answers
General Tech 7 Answers
General Tech 3 Answers
General Tech 2 Answers
Banking, Finance & Insurance
Mobile Technologies
Career Talk
General Tech
Commerce & Accounting
Career Talk0 Answers
General Tech0 Answers
Digital Marketing0 Answers
Internet of Things0 Answers
Interview Questions0 Answers
Your experience on this site will be improved by allowing cookies.