|
@@ 53-55 (lines=3) @@
|
| 50 |
|
// Looking up the page record to verify its existence: |
| 51 |
|
$page = $tsfe->sys_page->getPage($linkDetails['pageuid'], $disableGroupAccessCheck); |
| 52 |
|
|
| 53 |
|
if (empty($page)) { |
| 54 |
|
throw new UnableToLinkException('Page id "' . $linkDetails['typoLinkParameter'] . '" was not found, so "' . $linkText . '" was not linked.', 1490987336, null, $linkText); |
| 55 |
|
} |
| 56 |
|
|
| 57 |
|
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typolinkProcessing']['typolinkModifyParameterForPageLinks'] ?? [] as $classData) { |
| 58 |
|
$hookObject = GeneralUtility::makeInstance($classData); |
|
@@ 95-97 (lines=3) @@
|
| 92 |
|
$mount_info = $tsfe->sys_page->getMountPointInfo($page['uid'], $page); |
| 93 |
|
if (is_array($mount_info) && $mount_info['overlay']) { |
| 94 |
|
$page = $tsfe->sys_page->getPage($mount_info['mount_pid'], $disableGroupAccessCheck); |
| 95 |
|
if (empty($page)) { |
| 96 |
|
throw new UnableToLinkException('Mount point "' . $mount_info['mount_pid'] . '" was not available, so "' . $linkText . '" was not linked.', 1490987337, null, $linkText); |
| 97 |
|
} |
| 98 |
|
$MPvarAcc['re-map'] = $mount_info['MPvar']; |
| 99 |
|
} |
| 100 |
|
// Setting title if blank value to link |