Deprecation: #84965 - Various TypoScriptFrontendController methods¶
See Issue #84965
A lot of functionality from
TSFE) has been migrated
into new PSR-15 middlewares, which are flexible modules to modify a HTTP request workflow.
Most of the functionality which is now in a PSR-15-based middleware is related to setting up various permission and GET/POST variable resolving.
The following methods within
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController have been marked
All hooks previously located within these methods still work as expected, as they are now called within a PSR-15 middleware.
Additionally, there are some methods within
TSFE which have been marked as “internal” for a long time,
but had the PHP visibility “public” from a legacy code base. These methods, which are internal for TYPO3 Core
purposes, now have the visibility “protected”.
Calling any of the deprecated methods above will trigger a PHP
Any TYPO3 installation with a custom extension setting up or mimicking a custom frontend request by
TypoScriptFrontendController methods directly.
Extensions that bootstrap their own frontend should ensure that the respective Middlewares are run, e.g. via custom stacks or just by setting up the “frontend” middleware stack.
Additionally, extensions can create custom middlewares to modify a HTTP request or response as well.