‪TYPO3CMS  9.5
ext_tables.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 // Register as a skin
5 ‪$GLOBALS['TBE_STYLES']['skins']['backend'] = [
6  'name' => 'backend',
7  'stylesheetDirectories' => [
8  'css' => 'EXT:backend/Resources/Public/Css/'
9  ]
10 ];
11 
12 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
13  'web',
14  'layout',
15  'top',
16  '',
17  [
18  'routeTarget' => \‪TYPO3\CMS\Backend\Controller\PageLayoutController::class . '::mainAction',
19  'access' => 'user,group',
20  'name' => 'web_layout',
21  'icon' => 'EXT:backend/Resources/Public/Icons/module-page.svg',
22  'labels' => 'LLL:EXT:backend/Resources/Private/Language/locallang_mod.xlf'
23  ]
24 );
25 
26 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
27  'site',
28  'configuration',
29  'top',
30  '',
31  [
32  'routeTarget' => \‪TYPO3\CMS\Backend\Controller\SiteConfigurationController::class . '::handleRequest',
33  'access' => 'admin',
34  'name' => 'site_configuration',
35  'icon' => 'EXT:backend/Resources/Public/Icons/module-sites.svg',
36  'labels' => 'LLL:EXT:backend/Resources/Private/Language/locallang_siteconfiguration_module.xlf'
37  ]
38 );
39 
40 // "Sort sub pages" csh
41 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
42  'pages_sort',
43  'EXT:backend/Resources/Private/Language/locallang_pages_sort_csh.xlf'
44 );
45 // "Create multiple pages" csh
46 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
47  'pages_new',
48  'EXT:backend/Resources/Private/Language/locallang_pages_new_csh.xlf'
49 );
50 
51 // Csh manual
52 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
53  'help',
54  'cshmanual',
55  'top',
56  '',
57  [
58  'routeTarget' => \‪TYPO3\CMS\Backend\Controller\HelpController::class . '::handleRequest',
59  'name' => 'help_cshmanual',
60  'access' => 'user,group',
61  'icon' => 'EXT:backend/Resources/Public/Icons/module-cshmanual.svg',
62  'labels' => 'LLL:EXT:backend/Resources/Private/Language/locallang_mod_help_cshmanual.xlf',
63  ]
64 );
‪TYPO3
‪$GLOBALS
‪$GLOBALS['PAGES_TYPES']
Definition: ext_tables.php:11