Deprecation: #95219 - TypoScriptFrontendController->ATagParams

See Issue #95219

Description

The public property TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->ATagParams has been marked as deprecated.

It was used in the past as a copy of the value TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->config[config][ATagParams], which should be used instead.

There is no need to use such a (less prominent) configuration option in a separate public property, as it needs to be kept in sync with the actual configuration option.

The second argument of the related method TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->getATagParams() called $addGlobal is also marked as deprecated, and will have no effect anymore in TYPO3 v12.

Impact

Accessing, setting or writing this property will trigger a PHP deprecation message.

Calling TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->getATagParams() with a second argument set to false will trigger a PHP deprecation message as well.

Affected Installations

TYPO3 installations with third-party-extensions accessing, or writing this property directly within PHP, or calling getATagParams() directly, which is highly unlikely.

Migration

All calls of $GLOBALS['TSFE']->ATagParams can be replaced with $GLOBALS['TSFE']->config['config']['ATagParams'] ?? ''.