Deprecation: #85878 - EidUtility and various TSFE methods

See forge#85878


The Utility class TYPO3\CMS\Frontend\Utility\EidUtility has been marked as deprecated.

The following methods have been marked as deprecated:

  • TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->initFEuser()

  • TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->storeSessionData()

  • TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->previewInfo()

  • TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->hook_eofe()

  • TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->addTempContentHttpHeaders()

  • TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->sendCacheHeaders()

The following hook has been marked as deprecated:

  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['hook_previewInfo']


Calling any of the methods or registering a hook listener will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

Any TYPO3 installation with custom functionality in the frontend using any of the methods, or the hook.


As all functionality has been set up via PSR-15 middlewares, use a PSR-15 middleware instead.

The method storeSessionData() should be replaced with TSFE->fe_user->storeSessionData().

The methods addTempContentHttpHeaders() and sendCacheHeaders() are now incorporated within TSFE->processOutput(). This function should be used, or rather add custom headers to a PSR-15 Response object if available.

On top, the hook is superseded by the Frontend Hook hook_eofe which is executed in the Frontend rendering flow directly afterwards.