Feature: #94428 - Extbase Request implements ServerRequestInterface¶
TYPO3\CMS\Extbase\Mvc\Request now implements
ServerRequestInterface and thus holds all request
related information of the main Core request in addition to the
plugin namespace specific Extbase arguments.
This allows getting information of the main request especially within
Extbase controllers from
Developers of Fluid ViewHelpers can now retrieve the main PSR-7 request
in many contexts from
$renderingContext->getRequest(), in addition
to the Extbase specific information specified by
Note that with future patches, the request assigned to ViewHelper
RenderingContext may NOT implement Extbase
TYPO3\CMS\Extbase\Mvc\Request\RequestInterface anymore, and
ServerRequestInterface. This will be the case when the
ViewHelper is not called from within an Extbase plugin, but when Fluid
is started as "standalone view" in non-extbase based plugins: Often in
backend scenarios like toolbars, doc headers, non-extbase modules, etc.
Extensions should thus test for instance of Extbase
if they don't know the context and rely on Extbase specific request data.