[TASK] Add linkDetails to the parameters sent in typoLink_PostProc hook 34/51334/2
authorPhat Hoang <phat@pixelant.se>
Tue, 17 Jan 2017 10:12:37 +0000 (11:12 +0100)
committerBenni Mack <benni@typo3.org>
Tue, 17 Jan 2017 14:20:22 +0000 (15:20 +0100)
This can be useful when using the unified referencing syntax.

Resolves: #79349
Releases: master

Change-Id: If822da7a6fd348f71c4f36ecf5f63f0a103bd2f7
Reviewed-on: https://review.typo3.org/51334
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mattias Nilsson <tollepjaer@gmail.com>
Tested-by: Mattias Nilsson <tollepjaer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php

index 2607288..80251ee 100644 (file)
@@ -6213,7 +6213,8 @@ class ContentObjectRenderer
                 'conf' => &$conf,
                 'linktxt' => &$linkText,
                 'finalTag' => &$finalAnchorTag,
-                'finalTagParts' => &$finalTagParts
+                'finalTagParts' => &$finalTagParts,
+                'linkDetails' => &$linkDetails
             ];
             foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['typoLink_PostProc'] as $_funcRef) {
                 GeneralUtility::callUserFunction($_funcRef, $_params, $this);