[!!!][FEATURE] Introduce Backend Routing
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5
6 // Register record edit module
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
8 'record_edit',
9 'EXT:backend/Modules/FormEngine/'
10 );
11
12 // Register record history module
13 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
14 'record_history',
15 'EXT:backend/Modules/RecordHistory/'
16 );
17
18 // Register login frameset
19 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
20 'login_frameset',
21 'EXT:backend/Modules/LoginFrameset/'
22 );
23
24 // Register file_navframe
25 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addCoreNavigationComponent('file', 'file_navframe');
26 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
27 'file_navframe',
28 'EXT:backend/Modules/FileSystemNavigationFrame/'
29 );
30
31 // Register file_edit
32 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
33 'file_edit',
34 'EXT:backend/Modules/File/Edit/'
35 );
36
37 // Register file_newfolder
38 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
39 'file_newfolder',
40 'EXT:backend/Modules/File/Newfolder/'
41 );
42
43 // Register file_rename
44 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
45 'file_rename',
46 'EXT:backend/Modules/File/Rename/'
47 );
48
49 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
50 'file_replace',
51 'EXT:backend/Modules/File/Replace/'
52 );
53
54 // Register file_rename
55 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
56 'file_upload',
57 'EXT:backend/Modules/File/Upload/'
58 );
59
60 // Register tce_db
61 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
62 'tce_db',
63 'EXT:backend/Modules/File/Database/'
64 );
65
66 // Register tce_file
67 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
68 'tce_file',
69 'EXT:backend/Modules/File/Administration/'
70 );
71
72 // Register edit wizard
73 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
74 'wizard_edit',
75 'EXT:backend/Modules/Wizards/EditWizard/'
76 );
77
78 // Register add wizard
79 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
80 'wizard_add',
81 'EXT:backend/Modules/Wizards/AddWizard/'
82 );
83
84 // Register list wizard
85 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
86 'wizard_list',
87 'EXT:backend/Modules/Wizards/ListWizard/'
88 );
89
90 // Register table wizard
91 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
92 'wizard_table',
93 'EXT:backend/Modules/Wizards/TableWizard/'
94 );
95
96 // Register rte wizard
97 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
98 'wizard_rte',
99 'EXT:backend/Modules/Wizards/RteWizard/'
100 );
101
102 // Register colorpicker wizard
103 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
104 'wizard_colorpicker',
105 'EXT:backend/Modules/Wizards/ColorpickerWizard/'
106 );
107
108 // Register backend_layout wizard
109 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
110 'wizard_backend_layout',
111 'EXT:backend/Modules/Wizards/BackendLayoutWizard/'
112 );
113
114 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
115 'web',
116 'layout',
117 'top',
118 'EXT:backend/Modules/Layout/',
119 array(
120 'script' => '_DISPATCH',
121 'access' => 'user,group',
122 'name' => 'web_layout',
123 'labels' => array(
124 'tabs_images' => array(
125 'tab' => 'EXT:backend/Resources/Public/Icons/module-page.svg',
126 ),
127 'll_ref' => 'LLL:EXT:backend/Resources/Private/Language/locallang_mod.xlf',
128 ),
129 )
130 );
131
132 // Register new record
133 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
134 'db_new',
135 'EXT:backend/Modules/NewRecord/'
136 );
137
138 // Register new content element module
139 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
140 'new_content_element',
141 'EXT:backend/Modules/NewContentElement/'
142 );
143
144 // Register move element module
145 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
146 'move_element',
147 'EXT:backend/Modules/MoveElement/'
148 );
149
150 // Register show item module
151 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
152 'show_item',
153 'EXT:backend/Modules/ShowItem/'
154 );
155
156 // Register browser
157 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
158 'browser',
159 'EXT:backend/Modules/Browser/'
160 );
161
162 // Register dummy window
163 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
164 'dummy',
165 'EXT:backend/Modules/Dummy/'
166 );
167
168 // Register BackendLayoutDataProvider for PageTs
169 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['BackendLayoutDataProvider']['pagets'] = \TYPO3\CMS\Backend\Provider\PageTsBackendLayoutDataProvider::class;
170 }