d12e8ede53a879596da792d3f115959b30832f1d
[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 '',
10 array(
11 'routeTarget' => \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::class . '::mainAction',
12 'access' => 'admin',
13 'name' => 'web_ts',
14 'icon' => 'EXT:tstemplate/Resources/Public/Icons/module-tstemplate.svg',
15 'labels' => array(
16 'll_ref' => 'LLL:EXT:tstemplate/Resources/Private/Language/locallang_mod.xlf',
17 ),
18 )
19 );
20
21 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
22 'web_ts',
23 \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::class,
24 null,
25 'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:constantEditor'
26 );
27
28 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
29 'web_ts',
30 \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::class,
31 null,
32 'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:infoModify'
33 );
34
35 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
36 'web_ts',
37 \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::class,
38 null,
39 'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:objectBrowser'
40 );
41
42 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
43 'web_ts',
44 \TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerModuleFunctionController::class,
45 null,
46 'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:templateAnalyzer'
47 );
48 }