/** * Initialize the TypoScript template parser * * @return void */ public function initTemplate() { $this->tmpl = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\TypoScript\\TemplateService'); $this->tmpl->setVerbose((bool) $this->beUserLogin); $this->tmpl->init(); $this->tmpl->tt_track = (bool) $this->beUserLogin; }
/** * Initialize the TypoScript template parser * * @return void */ public function initTemplate() { $this->tmpl = GeneralUtility::makeInstance(TemplateService::class); $this->tmpl->setVerbose((bool) $this->beUserLogin); $this->tmpl->init(); $this->tmpl->tt_track = (bool) $this->beUserLogin; }