[SOME CONDITION] page { 10 { variables { breadcrumbExtendedValue = COA breadcrumbExtendedValue { 10 = USER 10 { userFunc = Vendor\Package\UserFunc\TypoScriptUserFunc->breadrumbValue } } } } } [end]
<?php declare(strict_types=1); namespace Vendor\Package\UserFunc; class TypoScriptUserFunc { /** * @param string * @param array * @return string */ public function breadrumbValue(string $content, array $conf): string { $queryParams = $GLOBALS['TYPO3_REQUEST']->getQueryParams() ?? []; if (!isset($queryParams['tx_package_show']['documentId'])) { return ''; } // @TODO RESOLVE VALUE $value = $queryParams['tx_package_show']['documentId']; return $value; } }
Home \ Module \ Show \ ACTIVE VALUE Home \ Module \ ACTIVE VALUE
[SOME CONDITION] page { 10 { dataProcessing { 30 { special.range = 0|-2 } } } } [end]
There was an error while loading. Please reload this page.