[TASK] Move linkData() functionality in PageLinkBuilder
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-84637-TemplateService-linkDataFunctionalityMovedInPageLinkBuilder.rst
1 .. include:: ../../Includes.txt
2
3 ========================================================================================
4 Deprecation: #84637 - TemplateService->linkData() functionality moved in PageLinkBuilder
5 ========================================================================================
6
7 See :issue:`84637`
8
9 Description
10 ===========
11
12 In the process of streamlining the link generation to pages in the Frontend, the master method
13 :php:`TemplateService->linkData` and all functionality regarding resolving of the according Mount Point parameters
14 have been migrated into the TypoLink PageLinkBuilder class.
15
16 The following methods have been marked as deprecated:
17 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->linkData`
18 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->getFromMPmap`
19 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->initMPmap_create`
20
21
22 Impact
23 ======
24
25 Calling any of the methods above will trigger a PHP deprecation message.
26
27
28 Affected Installations
29 ======================
30
31 Any TYPO3 installations with third-party extensions calling the methods directly, extensions using the
32 existing hook :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc']`
33 will work the same way.
34
35
36 Migration
37 =========
38
39 Access the corresponding new methods within :php:`PageLinkBuilder` instead of the TemplateService-related
40 methods, or use the existing hook to modify parameters for a URL.
41
42 .. index:: FullyScanned