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