‪TYPO3CMS  10.4
ext_tables.php
Go to the documentation of this file.
1 <?php
2 
3 defined('TYPO3_MODE') or die();
4 
12 ‪$GLOBALS['PAGES_TYPES'] = [
13  (string)\‪TYPO3\CMS\Core\Domain\Repository\PageRepository::DOKTYPE_BE_USER_SECTION => [
14  'allowedTables' => '*'
15  ],
16  (string)\‪TYPO3\CMS\Core\Domain\Repository\PageRepository::DOKTYPE_SYSFOLDER => [
17  // Doktype 254 is a 'Folder' - a general purpose storage folder for whatever you like.
18  // In CMS context it's NOT a viewable page. Can contain any element.
19  'allowedTables' => '*'
20  ],
21  (string)\‪TYPO3\CMS\Core\Domain\Repository\PageRepository::DOKTYPE_RECYCLER => [
22  // Doktype 255 is a recycle-bin.
23  'allowedTables' => '*'
24  ],
25  'default' => [
26  'allowedTables' => 'pages,sys_category,sys_file_reference,sys_file_collection',
27  'onlyAllowedTables' => false
28  ],
29 ];
30 
39 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
40  'web',
41  '',
42  '',
43  null,
44  [
45  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_web.xlf',
46  'name' => 'web',
47  'iconIdentifier' => 'modulegroup-web'
48  ]
49 );
50 // workaround to add web->list by default
51 ‪$GLOBALS['TBE_MODULES']['web'] = 'list';
52 
53 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
54  'site',
55  '',
56  '',
57  null,
58  [
59  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_site.xlf',
60  'name' => 'site',
61  'workspaces' => 'online',
62  'iconIdentifier' => 'modulegroup-site',
63  ]
64 );
65 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
66  'file',
67  '',
68  '',
69  null,
70  [
71  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_file.xlf',
72  'navigationFrameModule' => 'file_navframe',
73  'name' => 'file',
74  'workspaces' => 'online,custom',
75  'iconIdentifier' => 'modulegroup-file'
76  ]
77 );
78 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
79  'user',
80  '',
81  '',
82  null,
83  [
84  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_usertools.xlf',
85  'name' => 'user',
86  'iconIdentifier' => 'modulegroup-user'
87  ]
88 );
89 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
90  'tools',
91  '',
92  '',
93  null,
94  [
95  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_admintools.xlf',
96  'name' => 'tools',
97  'iconIdentifier' => 'modulegroup-tools'
98  ]
99 );
100 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
101  'system',
102  '',
103  '',
104  null,
105  [
106  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_system.xlf',
107  'name' => 'system',
108  'iconIdentifier' => 'modulegroup-system'
109  ]
110 );
111 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
112  'help',
113  '',
114  '',
115  null,
116  [
117  'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_help.xlf',
118  'name' => 'help',
119  'iconIdentifier' => 'modulegroup-help'
120  ]
121 );
122 
123 // Register the page tree core navigation component
124 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addCoreNavigationComponent('web', '‪TYPO3/CMS/Backend/PageTree/PageTreeElement');
125 
132 ‪$GLOBALS['TBE_STYLES'] = [];
133 
139 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('pages', 'EXT:core/Resources/Private/Language/locallang_csh_pages.xlf');
140 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_users', 'EXT:core/Resources/Private/Language/locallang_csh_be_users.xlf');
141 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_groups', 'EXT:core/Resources/Private/Language/locallang_csh_be_groups.xlf');
142 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_filemounts', 'EXT:core/Resources/Private/Language/locallang_csh_sysfilem.xlf');
143 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_file_reference', 'EXT:core/Resources/Private/Language/locallang_csh_sysfilereference.xlf');
144 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_file_storage', 'EXT:core/Resources/Private/Language/locallang_csh_sysfilestorage.xlf');
145 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_language', 'EXT:core/Resources/Private/Language/locallang_csh_syslang.xlf');
146 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_news', 'EXT:core/Resources/Private/Language/locallang_csh_sysnews.xlf');
147 // General Core
148 \‪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:12