5b933ab4354563c7d7836326bd12c04ee8388a4a
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Configuration / Backend / Routes.php
1 <?php
2 use TYPO3\CMS\Backend\Controller as Controller;
3
4 /**
5 * Definitions for routes provided by EXT:backend
6 * Contains all "regular" routes for entry points
7 *
8 * Please note that this setup is preliminary until all core use-cases are set up here.
9 * Especially some more properties regarding modules will be added until TYPO3 CMS 7 LTS, and might change.
10 *
11 * Currently the "access" property is only used so no token creation + validation is made,
12 * but will be extended further.
13 *
14 * @internal This is not a public API yet until TYPO3 CMS 7 LTS.
15 */
16 return [
17 // Login screen of the TYPO3 Backend
18 'login' => [
19 'path' => '/login',
20 'access' => 'public',
21 'controller' => Controller\LoginController::class
22 ],
23
24 // Main backend rendering setup (backend.php) for the TYPO3 Backend
25 'main' => [
26 'path' => '/main',
27 'controller' => Controller\BackendController::class
28 ],
29
30 // Logout script for the TYPO3 Backend
31 'logout' => [
32 'path' => '/logout',
33 'controller' => Controller\LogoutController::class
34 ],
35
36 // Register backend_layout wizard
37 'wizard_backend_layout' => [
38 'path' => '/wizard/backend_layout',
39 'controller' => \TYPO3\CMS\Backend\Controller\BackendLayoutWizardController::class
40 ],
41
42 // Register colorpicker wizard
43 'wizard_colorpicker' => [
44 'path' => '/wizard/colorpicker',
45 'controller' => \TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController::class
46 ],
47
48 // Register table wizard
49 'wizard_table' => [
50 'path' => '/wizard/table',
51 'controller' => \TYPO3\CMS\Backend\Controller\Wizard\TableController::class
52 ],
53
54 // Register rte wizard
55 'wizard_rte' => [
56 'path' => '/wizard/rte',
57 'controller' => \TYPO3\CMS\Backend\Controller\Wizard\RteController::class
58 ],
59
60 // Register add wizard
61 'wizard_add' => [
62 'path' => '/wizard/add',
63 'controller' => \TYPO3\CMS\Backend\Controller\Wizard\AddController::class
64 ],
65
66 // Register list wizard
67 'wizard_list' => [
68 'path' => '/wizard/list',
69 'controller' => \TYPO3\CMS\Backend\Controller\Wizard\ListController::class
70 ],
71
72 // Register edit wizard
73 'wizard_edit' => [
74 'path' => '/wizard/edit',
75 'controller' => \TYPO3\CMS\Backend\Controller\Wizard\EditController::class
76 ],
77
78 /** File- and folder-related routes */
79 // Editing the contents of a file
80 'file_edit' => [
81 'path' => '/file/editcontent',
82 'controller' => \TYPO3\CMS\Backend\Controller\File\EditFileController::class
83 ],
84
85 // Create a new folder
86 'file_newfolder' => [
87 'path' => '/file/new',
88 'controller' => \TYPO3\CMS\Backend\Controller\File\CreateFolderController::class
89 ],
90
91 // Rename a file
92 'file_rename' => [
93 'path' => '/file/rename',
94 'controller' => \TYPO3\CMS\Backend\Controller\File\RenameFileController::class
95 ],
96
97 // Replace a file with a different one
98 'file_replace' => [
99 'path' => '/file/replace',
100 'controller' => \TYPO3\CMS\Backend\Controller\File\ReplaceFileController::class
101 ],
102
103 // Upload new files
104 'file_upload' => [
105 'path' => '/file/upload',
106 'controller' => \TYPO3\CMS\Backend\Controller\File\FileUploadController::class
107 ],
108
109 // Register login frameset
110 'login_frameset' => [
111 'path' => '/login/frame',
112 'controller' => \TYPO3\CMS\Backend\Controller\LoginFramesetController::class
113 ],
114
115 // Register record history module
116 'record_history' => [
117 'path' => '/record/history',
118 'controller' => \TYPO3\CMS\Backend\Controller\ContentElement\ElementHistoryController::class
119 ],
120
121 // Register new record
122 'db_new' => [
123 'path' => '/record/new',
124 'controller' => \TYPO3\CMS\Backend\Controller\NewRecordController::class
125 ],
126
127 // Register new content element module
128 'new_content_element' => [
129 'path' => '/record/content/new',
130 'controller' => \TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController::class
131 ],
132
133 // Register move element module
134 'move_element' => [
135 'path' => '/record/move',
136 'controller' => \TYPO3\CMS\Backend\Controller\ContentElement\MoveElementController::class
137 ],
138
139 // Register show item module
140 'show_item' => [
141 'path' => '/record/info',
142 'controller' => \TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::class
143 ],
144
145 // Register browser
146 'browser' => [
147 'path' => '/record/browse',
148 'controller' => \TYPO3\CMS\Recordlist\Controller\ElementBrowserFramesetController::class
149 ],
150
151 // Register dummy window
152 'dummy' => [
153 'path' => '/empty',
154 'controller' => \TYPO3\CMS\Backend\Controller\DummyController::class
155 ],
156
157 ];