Feature: #101612 - UriBuilder->buildUriFromRequest

See forge#101612


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.


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]);