kitodo-presentation/ext_tables.php

31 lines
1.1 KiB
PHP
Raw Permalink Normal View History

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') {
\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'
],
2019-03-16 21:03:17 +01:00
);
}