[TASK] Integrate "Functions" as context menu
[Packages/TYPO3.CMS.git] / typo3 / sysext / func / 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 'func',
8 '',
9 '',
10 [
11 'routeTarget' => \TYPO3\CMS\Func\Controller\PageFunctionsController::class . '::mainAction',
12 'access' => 'user,group',
13 'name' => 'web_func',
14 'icon' => 'EXT:func/Resources/Public/Icons/module-func.svg',
15 'labels' => 'LLL:EXT:func/Resources/Private/Language/locallang_mod_web_func.xlf'
16 ]
17 );
18 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
19 '_MOD_web_func',
20 'EXT:func/Resources/Private/Language/locallang_csh_web_func.xlf'
21 );
22 }