Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add PageTS configuration to FlexForm elements
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['formDataGroup']['flexFormSegment'][\TYPO3\CMS\Backend\Form\FormDataProvider\PageTsConfig::class] = [];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['formDataGroup']['flexFormSegment'][\TYPO3\CMS\Backend\Form\FormDataProvider\PageTsConfigMerged::class] = [
'depends' => [
\TYPO3\CMS\Backend\Form\FormDataProvider\PageTsConfig::class,
]
];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['formDataGroup']['flexFormSegment'][\TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowDefaultValues::class] = [
'depends' => [
\TYPO3\CMS\Backend\Form\FormDataProvider\PageTsConfigMerged::class
]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment