‪TYPO3CMS  10.4
ext_tables.php
Go to the documentation of this file.
1 <?php
2 
3 defined('TYPO3_MODE') or die();
4 
5 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
6  'web',
7  'ts',
8  '',
9  '',
10  [
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' => 'LLL:EXT:tstemplate/Resources/Private/Language/locallang_mod.xlf'
16  ]
17 );
18 
19 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
20  'web_ts',
21  \‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::class,
22  '',
23  'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:constantEditor'
24 );
25 
26 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
27  'web_ts',
28  \‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::class,
29  '',
30  'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:infoModify'
31 );
32 
33 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
34  'web_ts',
35  \‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::class,
36  '',
37  'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:objectBrowser'
38 );
39 
40 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
41  'web_ts',
42  \‪TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerModuleFunctionController::class,
43  '',
44  'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:templateAnalyzer'
45 );
‪TYPO3