Feature: #68315 - Include a pageTSconfig file in page properties like TS static templates

See forge#68315


In the Page properties an option is added to include a page TSconfig file (the same way as TypoScript static templates are included). The included files from the pages in the rootline are included after the default page TSconfig and before the normal TSconfig from the pages in the rootline. To add files to the selector in the Page properties a new function registerPageTSConfigFile is added to \TYPO3\CMS\Core\Utility\ExtensionManagementUtility to register a pageTSconfig file.


No effect on existing installations.


In Configuration/TCA/Overrides/pages.php of any extension, register PageTS config files, which will be shown afterwards at the newly introduced field.

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerPageTSConfigFile('extension_name', 'Configuration/PageTS/myPageTSconfigFile.txt', 'My special config');