[!!!][TASK] This is FormEngine
[Packages/TYPO3.CMS.git] / typo3 / sysext / tstemplate / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 $extensionPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY);
6
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
8 'web',
9 'ts',
10 '',
11 $extensionPath . 'ts/',
12 array(
13 'script' => '_DISPATCH',
14 'access' => 'admin',
15 'name' => 'web_ts',
16 'labels' => array(
17 'tabs_images' => array(
18 'tab' => '../Resources/Public/Icons/module-tstemplate.png',
19 ),
20 'll_ref' => 'LLL:EXT:tstemplate/ts/locallang_mod.xlf',
21 ),
22 )
23 );
24
25 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
26 'web_ts',
27 \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::class,
28 NULL,
29 'LLL:EXT:tstemplate/ts/locallang.xlf:constantEditor'
30 );
31
32 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
33 'web_ts',
34 \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::class,
35 NULL,
36 'LLL:EXT:tstemplate/ts/locallang.xlf:infoModify'
37 );
38
39 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
40 'web_ts',
41 \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::class,
42 NULL,
43 'LLL:EXT:tstemplate/ts/locallang.xlf:objectBrowser'
44 );
45
46 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
47 'web_ts',
48 \TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerModuleFunctionController::class,
49 NULL,
50 'LLL:EXT:tstemplate/ts/locallang.xlf:templateAnalyzer'
51 );
52
53 }