[TASK] Avoid TSFE->linkVars
TypoScriptFrontendController->linkVars is only used once in PageLinkBuilder. The TSFE property can be avoided quite easily by moving the calculation of "global" query parameters to this place directly. This avoids yet another dependency to TSFE. Resolves: #102717 Releases: main Change-Id: Ib6cd0dee8e3f370ebe936d5e4669d0d27dadcdec Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82275 Reviewed-by:Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Sascha Nowak <sascha.nowak@netlogix.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/core/Classes/LinkHandling/TypoLinkCodecService.php 2 additions, 5 deletions...sysext/core/Classes/LinkHandling/TypoLinkCodecService.php
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 10 additions, 0 deletions.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 0 additions, 29 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php 22 additions, 4 deletionstypo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php 0 additions, 11 deletions...nd/Tests/Unit/ContentObject/ContentObjectRendererTest.php
- typo3/sysext/redirects/Classes/Service/RedirectService.php 3 additions, 1 deletiontypo3/sysext/redirects/Classes/Service/RedirectService.php
Please register or sign in to comment