Feature: #101612 - UriBuilder->buildUriFromRequest¶
See forge#101612
Description¶
A new method within TYPO3\CMS\Backend\Routing\UriBuilder
named buildUriFromRequest
is added which allows to generate a URL to a backend route of this
request.
Impact¶
This is typically useful when linking to the current route or module in the TYPO3 Backend for extension authors to avoid internals with any PSR-7 Request Attribute.
Usage within a PHP module controller in the TYPO3 Backend Context:
$this->uriBuilder->buildUriFromRequest($request, ['id' => $id]);