forked from sourcebroker/t3api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_tables.php
More file actions
26 lines (24 loc) · 898 Bytes
/
ext_tables.php
File metadata and controls
26 lines (24 loc) · 898 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
<?php
defined('TYPO3') || die('Access denied.');
call_user_func(
function () {
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'T3api',
'tools',
'm1',
'',
[
\SourceBroker\T3api\Controller\AdministrationController::class => 'documentation',
\SourceBroker\T3api\Controller\OpenApiController::class => 'display, spec',
],
[
'access' => 'user,group',
'icon' => 'EXT:t3api/Resources/Public/Icons/Extension.svg',
'labels' => 'LLL:EXT:t3api/Resources/Private/Language/locallang_modadministration.xlf',
'inheritNavigationComponentFromMainModule' => false,
]
);
}
}
);