‪TYPO3CMS  9.5
ext_tables.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
11 ‪$GLOBALS['PAGES_TYPES'] = [
12  (string)\‪TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_BE_USER_SECTION => [
13  'allowedTables' => '*'
14  ],
15  (string)\‪TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SYSFOLDER => [
16  // Doktype 254 is a 'Folder' - a general purpose storage folder for whatever you like.
17  // In CMS context it's NOT a viewable page. Can contain any element.
18  'allowedTables' => '*'
19  ],
20  (string)\‪TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_RECYCLER => [
21  // Doktype 255 is a recycle-bin.
22  'allowedTables' => '*'
23  ],
24  'default' => [
25  'allowedTables' => 'pages,sys_category,sys_file_reference,sys_file_collection',
26  'onlyAllowedTables' => false
27  ],
28 ];
29 
38 ‪$GLOBALS['TBE_MODULES'] = [
39  'web' => 'list',
40  'site' => '',
41  'file' => '',
42  'user' => '',
43  'tools' => '',
44  'system' => '',
45  'help' => '',
46  '_configuration' => [
47  'web' => [
48  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_web.xlf',
49  'name' => 'web',
50  'iconIdentifier' => 'module-web'
51  ],
52  'site' => [
53  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_site.xlf',
54  'name' => 'site',
55  'workspaces' => 'online',
56  'iconIdentifier' => 'module-site',
57  ],
58  'file' => [
59  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_file.xlf',
60  'navigationFrameModule' => 'file_navframe',
61  'name' => 'file',
62  'workspaces' => 'online,custom',
63  'iconIdentifier' => 'module-file'
64  ],
65  'user' => [
66  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_usertools.xlf',
67  'name' => 'user',
68  'iconIdentifier' => 'status-user-backend'
69  ],
70  'tools' => [
71  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_admintools.xlf',
72  'name' => 'tools',
73  'iconIdentifier' => 'module-tools'
74  ],
75  'system' => [
76  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_system.xlf',
77  'name' => 'system',
78  'iconIdentifier' => 'module-system'
79  ],
80  'help' => [
81  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_help.xlf',
82  'name' => 'help',
83  'iconIdentifier' => 'module-help'
84  ]
85  ]
86 ];
87 
88 // Register the page tree core navigation component
89 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addCoreNavigationComponent('web', '‪TYPO3/CMS/Backend/PageTree/PageTreeElement');
90 
97 ‪$GLOBALS['TBE_STYLES'] = [];
98 
104 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('pages', 'EXT:core/Resources/Private/Language/locallang_csh_pages.xlf');
105 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_users', 'EXT:core/Resources/Private/Language/locallang_csh_be_users.xlf');
106 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_groups', 'EXT:core/Resources/Private/Language/locallang_csh_be_groups.xlf');
107 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_filemounts', 'EXT:core/Resources/Private/Language/locallang_csh_sysfilem.xlf');
108 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_file_reference', 'EXT:core/Resources/Private/Language/locallang_csh_sysfilereference.xlf');
109 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_file_storage', 'EXT:core/Resources/Private/Language/locallang_csh_sysfilestorage.xlf');
110 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_language', 'EXT:core/Resources/Private/Language/locallang_csh_syslang.xlf');
111 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_news', 'EXT:core/Resources/Private/Language/locallang_csh_sysnews.xlf');
112 // General Core
113 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('xMOD_csh_corebe', 'EXT:core/Resources/Private/Language/locallang_csh_corebe.xlf');
‪TYPO3
‪$GLOBALS
‪$GLOBALS['PAGES_TYPES']
Definition: ext_tables.php:11