[!!!][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 // Register record history module
6 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
7 'record_history',
8 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/RecordHistory/'
9 );
10
11 // Register login frameset
12 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
13 'login_frameset',
14 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/LoginFrameset/'
15 );
16
17 // Register file_navframe
18 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addCoreNavigationComponent('file', 'file_navframe');
19 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
20 'file_navframe',
21 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/FileSystemNavigationFrame/'
22 );
23
24 // Register file_edit
25 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
26 'file_edit',
27 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Edit/'
28 );
29
30 // Register file_newfolder
31 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
32 'file_newfolder',
33 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Newfolder/'
34 );
35
36 // Register file_rename
37 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
38 'file_rename',
39 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Rename/'
40 );
41
42 // Register file_rename
43 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
44 'file_upload',
45 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Upload/'
46 );
47
48 // Register tce_db
49 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
50 'tce_db',
51 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Database/'
52 );
53
54 // Register tce_file
55 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
56 'tce_file',
57 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Administration/'
58 );
59
60 // Register edit wizard
61 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
62 'wizard_edit',
63 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/EditWizard/'
64 );
65
66 // Register add wizard
67 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
68 'wizard_add',
69 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/AddWizard/'
70 );
71
72 // Register list wizard
73 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
74 'wizard_list',
75 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ListWizard/'
76 );
77
78 // Register table wizard
79 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
80 'wizard_table',
81 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/TableWizard/'
82 );
83
84 // Register rte wizard
85 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
86 'wizard_rte',
87 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/RteWizard/'
88 );
89
90 // Register colorpicker wizard
91 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
92 'wizard_colorpicker',
93 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ColorpickerWizard/'
94 );
95
96 // Register backend_layout wizard
97 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
98 'wizard_backend_layout',
99 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/BackendLayoutWizard/'
100 );
101
102 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
103 'web',
104 'layout',
105 'top',
106 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Layout/',
107 array(
108 'script' => '_DISPATCH',
109 'access' => 'user,group',
110 'name' => 'web_layout',
111 'labels' => array(
112 'tabs_images' => array(
113 'tab' => '../../Resources/Public/Icons/module-page.png',
114 ),
115 'll_ref' => 'LLL:EXT:cms/layout/locallang_mod.xlf',
116 ),
117 )
118 );
119
120 // Register new record
121 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
122 'db_new',
123 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/NewRecord/'
124 );
125
126 // Register new content element module
127 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
128 'new_content_element',
129 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/NewContentElement/'
130 );
131
132 // Register move element module
133 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
134 'move_element',
135 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/MoveElement/'
136 );
137
138 // Register show item module
139 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
140 'show_item',
141 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/ShowItem/'
142 );
143
144 // Register browser
145 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
146 'browser',
147 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Browser/'
148 );
149 }