[!!!][TASK] EXT:form - split typoscript includes
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Configuration / TCA / Overrides / tt_content.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 call_user_func(function () {
5 // Add the FlexForm
6 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
7 '*',
8 'FILE:EXT:form/Configuration/FlexForms/FormFramework.xml',
9 'form_formframework'
10 );
11
12 $GLOBALS['TCA']['tt_content']['types']['form_formframework']['showitem'] = '
13 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
14 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
15 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
16 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.plugin,
17 pi_flexform,
18 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
19 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
20 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
21 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
22 --palette--;;language,
23 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
24 --palette--;;hidden,
25 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
26 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
27 categories,
28 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
29 rowDescription,
30 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
31 ';
32 // Register the plugin
33 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
34 'TYPO3.CMS.Form',
35 'Formframework',
36 'Form'
37 );
38 });