[!!!][TASK] Doctrine: Migrate AbstractPlugin
[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' => '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 null,
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 null,
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 null,
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 null,
44 'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:templateAnalyzer'
45 );
46 }