forked from kitodo/kitodo-presentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
29 lines (27 loc) · 989 Bytes
/
ext_tables.php
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
28
29
<?php
/**
* (c) Kitodo. Key to digital objects e.V. <[email protected]>
*
* This file is part of the Kitodo and TYPO3 projects.
*
* @license GNU General Public License version 3 or later.
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*/
// Register backend module.
if (\TYPO3_MODE === 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
'tools',
'dlfNewTenantModule',
'',
'',
[
'routeTarget' => \Kitodo\Dlf\Module\NewTenant::class . '::main',
'access' => 'admin',
'name' => 'tools_dlfNewTenantModule',
'icon' => 'EXT:dlf/Resources/Public/Icons/Extension.svg',
'labels' => 'LLL:EXT:dlf/Resources/Private/Language/NewTenant.xml'
]
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addNavigationComponent('tools_dlfNewTenantModule', 'typo3-pagetree');
}