You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

35 lines
1.2 KiB

  1. <?php
  2. /**
  3. * (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
  4. *
  5. * This file is part of the Kitodo and TYPO3 projects.
  6. *
  7. * @license GNU General Public License version 3 or later.
  8. * For the full copyright and license information, please read the
  9. * LICENSE.txt file that was distributed with this source code.
  10. */
  11. // Register backend module.
  12. if (\TYPO3_MODE === 'BE') {
  13. \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
  14. 'tools',
  15. 'dlfNewTenantModule',
  16. '',
  17. '',
  18. [
  19. 'routeTarget' => \Kitodo\Dlf\Module\NewTenant::class . '::main',
  20. 'access' => 'admin',
  21. 'name' => 'tools_dlfNewTenantModule',
  22. 'icon' => 'EXT:dlf/Resources/Public/Icons/Extension.svg',
  23. 'labels' => 'LLL:EXT:dlf/Resources/Private/Language/NewTenant.xml',
  24. /**
  25. * 'navigationComponentId' => 'typo3-pagetree' is marked deprecated
  26. * in TYPO3 9. Use 'TYPO3/CMS/Backend/PageTree/PageTreeElement'
  27. * instead. Keeping old setting for compatibility with TYPO3 8.7.
  28. */
  29. 'navigationComponentId' => 'typo3-pagetree'
  30. ]
  31. );
  32. }