Skip to content
Snippets Groups Projects
Commit 48d47274 authored by Benni Mack's avatar Benni Mack Committed by Stefan B�rk
Browse files

[!!!][FEATURE] Add UriBuilder->buildUriFromRequest

This change adds a new method buildUriFromRequest
inside TYPO3's Backend UriBuilder in order to
generate links to the current (or any) request
with additional parameters.

This is quite helpful to link to the same module
/route when a request is given, thus reducing
code duplication and unifies link generation.

In addition, the determineScriptUrl() and
getScriptUrl() methods inside LinkBrowsers
and ElementBrowsers are removed, and have been
removed from the LinkParameterProviderInterface
as well.

Resolves: #101612
Releases: main
Change-Id: Ibaa2d2872178374e4553cf5899ee8ae19168480b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80433


Reviewed-by: default avatarStefan B�rk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan B�rk <stefan@buerk.tech>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
parent 6297e49f
Branches
Tags
No related merge requests found
Showing
with 178 additions and 204 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment