TYPO3: Access TypoScript in backend module

raw

phork0.php

1
2
3
4
5
6
7
8
9
<?php
$pid = $this->pObj->id;
$rootLine = \TYPO3\CMS\Backend\Utility\BackendUtility::BEgetRootLine($pid);
$ts = new \TYPO3\CMS\Core\TypoScript\TemplateService();
$ts->tt_track = false;
$ts->init();
$ts->start($rootLine);
var_dump($ts->setup);
?>
Christian Weiske Christian Weiske
owner

History