[TASK] Move Page Title generation to TSFE 73/54973/9
authorBenni Mack <benni@typo3.org>
Thu, 7 Dec 2017 20:06:25 +0000 (21:06 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Sat, 9 Dec 2017 22:57:11 +0000 (23:57 +0100)
commiteb4936469039f513420c751f11f9ac50f01a60af
treede4811d095f59b3454cfe1f40b88db227485160e
parent4e9f8109ba681cdcd3784ef6fdc4cb2144898bf4
[TASK] Move Page Title generation to TSFE

The static method "PageGenerator::generatePageTitle()" only
operated on TSFE and is moved within the main controller,
which can be retriggered multiple times as before.

The same goes for TemplateService->printTitle().

Additionally, the method isAllowedLinkVarValue() is moved to TSFE
as well.

Resolves: #83254
Releases: master
Change-Id: If519963e33a57c21ac5cc575e4395444ab50450d
Reviewed-on: https://review.typo3.org/54973
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/core/Classes/TypoScript/TemplateService.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-83254-MovedPageGenerationMethodsIntoTSFE.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Classes/Page/PageGenerator.php
typo3/sysext/frontend/Tests/Unit/Page/PageGeneratorTest.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallStaticMatcher.php