Deprecation: #103752 - Obsolete $GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields']

See forge#103752

Description

Configuration option $GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] has been obsoleted, its handling has been removed with TYPO3 core v13.2.

This option is well-known to integrators who add relations to the TCA pages table: It triggers relation resolving of page relations for additional fields when rendering a frontend request in default language. The most common usage is TypoScript "slide".

Impact

Integrators can simply forget about this option: Relations of table pages are now always resolved with nearly no performance penalty in comparison to not having them resolved.

Affected installations

Many instances add additional relations to the pages table to then add this field in addRootLineFields. This option is no longer evaluated, relation fields attached to pages are always resolved in frontend.

There should be little to no extensions using this option directly, since it was an internal option of class RootlineUtility. Extensions using $GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] may trigger a PHP warning level error since that array key has been removed. The extension scanner is configured to locate such usages.

Migration

The option is no longer evaluated in TYPO3 core. It is removed from settings.php during upgrade, if given.