[TASK] Move linkData() functionality in PageLinkBuilder 76/56576/5
authorBenni Mack <benni@typo3.org>
Fri, 6 Apr 2018 07:38:21 +0000 (09:38 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Fri, 6 Apr 2018 11:35:49 +0000 (13:35 +0200)
commitd68a62048434d4e3a334affdf4e2d53bbb4dc409
tree1d8d503eb78f078cada69f881423a623836532e2
parentd12e0fc9f4b4634bbb38871e835c355e40323478
[TASK] Move linkData() functionality in PageLinkBuilder

The "mother of building all links in Frontend" is moved
into PageLinkBuilder. Along with this, building a
mountPointMap is moved into the PageLinkBuilder as well,
as this is solely needed.

Existing methods are deprecated:
 * TemplateService->linkData
 * TemplateService->getFromMPmap
 * TemplateService->initMPmap_create

The existing hook is moved into PageLinkBuilder as well,
so functionality like RealURL will work the same.

Resolves: #84637
Releases: master
Change-Id: I513bd721a77ed8959f3c8b4bfc4eaa25dd05eacc
Reviewed-on: https://review.typo3.org/56576
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Classes/TypoScript/TemplateService.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-84637-TemplateService-linkDataFunctionalityMovedInPageLinkBuilder.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php
typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php