$specConfParts = \TYPO3\CMS\Backend\Utility\BackendUtility::getSpecConfParts('mod.web_layout.defTitle'); $title = $specConfParts['value']; echo $title;
$specConfParts = \TYPO3\CMS\Backend\Utility\BackendUtility::getSpecConfParts('page.10.template'); $package = $specConfParts['package']; $template = $specConfParts['value']; echo $template . ' (' . $package . ')';In this example, the `getSpecConfParts()` method is used to retrieve the page template from the `page.10.template` TSconfig property. The package library is also determined from the configuration and printed to the screen along with the template value. Library Package: TYPO3\CMS\Backend\Utility\BackendUtility