forked from FriendsOfTYPO3/func
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_tables.php
More file actions
28 lines (25 loc) · 939 Bytes
/
ext_tables.php
File metadata and controls
28 lines (25 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
defined('TYPO3_MODE') or die();
call_user_func(
function () {
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
'web',
'func',
'',
'',
[
'routeTarget' => \TYPO3\CMS\Func\Controller\PageFunctionsController::class . '::mainAction',
'access' => 'user,group',
'name' => 'web_func',
'icon' => 'EXT:func/Resources/Public/Icons/module-func.svg',
'labels' => 'LLL:EXT:func/Resources/Private/Language/locallang_mod_web_func.xlf'
]
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'_MOD_web_func',
'EXT:func/Resources/Private/Language/locallang_csh_web_func.xlf'
);
}
}
);