Deprecation: #101799 - ExtensionManagementUtility::addPageTSConfig()

See forge#101799


The method \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig() has been marked as deprecated in TYPO3 v13 and will be removed with TYPO3 v14.

The global configuration option $GLOBALS['TYPO3_CONF_VARS']['BE']['defaultPageTSconfig'] has been marked as deprecated in TYPO3 v13, will be ignored and removed from instance configuration files as silent upgrade with TYPO3 v14.


Setting default page TSconfig using ExtensionManagementUtility::addPageTSConfig() in ext_localconf.php files has been superseded by Automatic inclusion of page TSconfig of extensions with TYPO3 v12 already. The old way has been deprecated now, extensions should switch to the new functionality by placing default page TSconfig in Configuration/page.tsconfig files.

Affected installations

Instances with extensions using ExtensionManagementUtility::addPageTSConfig() or directly extending $GLOBALS['TYPO3_CONF_VARS']['BE']['defaultPageTSconfig'] are affected: Using ExtensionManagementUtility::addPageTSConfig() triggers a deprecation level log message. The extension scanner will find usages of ExtensionManagementUtility::addPageTSConfig() as strong match.


Add default page TSconfig to a Configuration/page.tsconfig file within an extension and remove calls to ExtensionManagementUtility::addPageTSConfig(). Placing default page TSconfig in Configuration/page.tsconfig files is available since TYPO3 v12, extensions aiming for v12 and v13 compatibility can simply switch over to the new way.