[TASK] Remove not needed autoload registry of form
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 // Add Default TS to Include static (from extensions)
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript/', 'Default TS');
8
9 if (TYPO3_MODE === 'BE') {
10 // Register wizard
11 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
12 'wizard_form',
13 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/FormWizard/'
14 );
15 }
16
17 $GLOBALS['TCA']['tt_content']['columns']['bodytext']['config']['wizards']['forms'] = array(
18 'notNewRecords' => 1,
19 'enableByTypeConfig' => 1,
20 'type' => 'script',
21 'title' => 'Form wizard',
22 'icon' => 'wizard_forms.gif',
23 'module' => array(
24 'name' => 'wizard_form'
25 ),
26 'params' => array(
27 'xmlOutput' => 0
28 )
29 );
30 $GLOBALS['TCA']['tt_content']['types']['mailform']['showitem'] = '
31 CType;;4;;1-1-1,
32 hidden,
33 header;;3;;2-2-2,
34 linkToTop;;;;3-3-3,
35 --div--;LLL:EXT:cms/locallang_ttc.xlf:CType.I.8,
36 bodytext;LLL:EXT:cms/locallang_ttc.xlf:bodytext.ALT.mailform;;nowrap:wizards[forms];3-3-3,
37 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
38 starttime,
39 endtime,
40 fe_group
41 ';