forked from kitodo/kitodo-presentation
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ext_tables.php
30 lines (28 loc) · 1.08 KB
/
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
30
<?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\Extbase\Utility\ExtensionUtility::registerModule(
'Kitodo.Dlf',
'tools', // Main area
'newTenantModule', // Name of the module
'bottom', // Position of the module
[// Allowed controller action combinations
Backend\NewTenant::class => 'index,error,addFormat,addMetadata,addSolrCore,addStructure',
],
[// Additional configuration
'access' => 'admin',
'icon' => 'EXT:dlf/Resources/Public/Icons/Extension.svg',
'labels' => 'LLL:EXT:dlf/Resources/Private/Language/locallang_mod_newtenant.xlf',
'navigationComponentId' => 'TYPO3/CMS/Backend/PageTree/PageTreeElement'
],
);
}