[TASK] Streamline ext_localconf.php / ext_tables.php of sysexts
[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 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
6 'web',
7 'ts',
8 '',
9 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('tstemplate') . 'ts/',
10 array(
11 'script' => '_DISPATCH',
12 'access' => 'admin',
13 'name' => 'web_ts',
14 'labels' => array(
15 'tabs_images' => array(
16 'tab' => '../Resources/Public/Icons/module-tstemplate.png',
17 ),
18 'll_ref' => 'LLL:EXT:tstemplate/ts/locallang_mod.xlf',
19 ),
20 )
21 );
22
23 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
24 'web_ts',
25 \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::class,
26 NULL,
27 'LLL:EXT:tstemplate/ts/locallang.xlf:constantEditor'
28 );
29
30 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
31 'web_ts',
32 \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::class,
33 NULL,
34 'LLL:EXT:tstemplate/ts/locallang.xlf:infoModify'
35 );
36
37 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
38 'web_ts',
39 \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::class,
40 NULL,
41 'LLL:EXT:tstemplate/ts/locallang.xlf:objectBrowser'
42 );
43
44 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
45 'web_ts',
46 \TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerModuleFunctionController::class,
47 NULL,
48 'LLL:EXT:tstemplate/ts/locallang.xlf:templateAnalyzer'
49 );
50
51 }