protected function renderPageTypoScriptForPageUid($pageUid) { $this->backupPageUidForConfigurationManager(); $this->overrideCurrentPageUidForConfigurationManager($pageUid); $pageTsConfig = ''; try { $collection = $this->getContentConfiguration(); $wizardTabs = $this->buildAllWizardTabGroups($collection); $collectionPageTsConfig = $this->buildAllWizardTabsPageTsConfig($wizardTabs); $pageTsConfig .= '[PIDinRootline = ' . strval($pageUid) . ']' . LF; $pageTsConfig .= $collectionPageTsConfig . LF; $pageTsConfig .= '[GLOBAL]' . LF; $this->message('Built content setup for page ' . $pageUid, GeneralUtility::SYSLOG_SEVERITY_INFO, 'Fluidcontent'); } catch (\RuntimeException $error) { $this->debug($error); } $this->restorePageUidForConfigurationManager(); return $pageTsConfig; }