2019-03-16 21:03:17 +01:00
|
|
|
<?php
|
2019-10-30 15:37:44 +01:00
|
|
|
|
2019-03-16 21:03:17 +01:00
|
|
|
/**
|
|
|
|
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
|
|
|
|
*
|
|
|
|
* 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.
|
2019-11-04 16:53:38 +01:00
|
|
|
if (\TYPO3_MODE === 'BE') {
|
2021-11-26 14:17:22 +01:00
|
|
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
|
2023-12-01 19:27:09 +01:00
|
|
|
'Dlf',
|
2021-11-26 17:51:04 +01:00
|
|
|
'tools', // Main area
|
|
|
|
'newTenantModule', // Name of the module
|
|
|
|
'bottom', // Position of the module
|
|
|
|
[// Allowed controller action combinations
|
2022-12-28 11:10:56 +01:00
|
|
|
\Kitodo\Dlf\Controller\Backend\NewTenantController::class => 'index,error,addFormat,addMetadata,addSolrCore,addStructure',
|
2021-11-26 14:17:22 +01:00
|
|
|
],
|
2021-11-26 17:51:04 +01:00
|
|
|
[// Additional configuration
|
2021-11-26 14:17:22 +01:00
|
|
|
'access' => 'admin',
|
|
|
|
'icon' => 'EXT:dlf/Resources/Public/Icons/Extension.svg',
|
2021-11-27 17:50:19 +01:00
|
|
|
'labels' => 'LLL:EXT:dlf/Resources/Private/Language/locallang_mod_newtenant.xlf',
|
2021-04-27 21:10:22 +02:00
|
|
|
'navigationComponentId' => 'TYPO3/CMS/Backend/PageTree/PageTreeElement'
|
2021-11-26 14:17:22 +01:00
|
|
|
],
|
2019-03-16 21:03:17 +01:00
|
|
|
);
|
|
|
|
}
|