TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,29 @@
.. include:: /Includes.rst.txt
.. _feature-101612-1691425003:
==================================================
Feature: #101612 - UriBuilder->buildUriFromRequest
==================================================
See :issue:`101612`
Description
===========
A new method within :php:`\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:
:php:`$this->uriBuilder->buildUriFromRequest($request, ['id' => $id]);`
.. index:: Backend, PHP-API, ext:backend