TYPO3: Access TypoScript in backend module

revision b4beb5ab24af20f1c2a6121d740191764173dbb1

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);
?>

History