-
Notifications
You must be signed in to change notification settings - Fork 45
/
ext_tables.php
33 lines (29 loc) · 1.09 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
31
32
33
<?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.
*/
if (!defined('TYPO3')) {
die('Access denied.');
}
// Register backend module for Typo3 v11.
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'Dlf',
'tools', // Main area
'newTenantModule', // Name of the module
'bottom', // Position of the module
[// Allowed controller action combinations
\Kitodo\Dlf\Controller\Backend\NewTenantController::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'
],
);