TYPO3 CMS  TYPO3_7-6
Routes.php
Go to the documentation of this file.
1 <?php
3 
14 return [
15  // Login screen of the TYPO3 Backend
16  'login' => [
17  'path' => '/login',
18  'access' => 'public',
19  'target' => Controller\LoginController::class . '::formAction'
20  ],
21 
22  // Main backend rendering setup (previously called backend.php) for the TYPO3 Backend
23  'main' => [
24  'path' => '/main',
25  'target' => Controller\BackendController::class . '::mainAction'
26  ],
27 
28  // Logout script for the TYPO3 Backend
29  'logout' => [
30  'path' => '/logout',
31  'target' => Controller\LogoutController::class . '::logoutAction'
32  ],
33 
34  // Register login frameset
35  'login_frameset' => [
36  'path' => '/login/frame',
37  'target' => Controller\LoginFramesetController::class . '::mainAction'
38  ],
39 
41  // Register backend_layout wizard
42  'wizard_backend_layout' => [
43  'path' => '/wizard/backend_layout',
44  'target' => Controller\BackendLayoutWizardController::class . '::mainAction'
45  ],
46 
47  // Register colorpicker wizard
48  'wizard_colorpicker' => [
49  'path' => '/wizard/colorpicker',
50  'target' => Controller\Wizard\ColorpickerController::class . '::mainAction'
51  ],
52 
53  // Register table wizard
54  'wizard_table' => [
55  'path' => '/wizard/table',
56  'target' => Controller\Wizard\TableController::class . '::mainAction'
57  ],
58 
59  // Register rte wizard
60  'wizard_rte' => [
61  'path' => '/wizard/rte',
62  'target' => Controller\Wizard\RteController::class . '::mainAction'
63  ],
64 
65  // Register add wizard
66  'wizard_add' => [
67  'path' => '/wizard/add',
68  'target' => Controller\Wizard\AddController::class . '::mainAction'
69  ],
70 
71  // Register list wizard
72  'wizard_list' => [
73  'path' => '/wizard/list',
74  'target' => Controller\Wizard\ListController::class . '::mainAction'
75  ],
76 
77  // Register edit wizard
78  'wizard_edit' => [
79  'path' => '/wizard/edit',
80  'target' => Controller\Wizard\EditController::class . '::mainAction'
81  ],
82 
83  // Register link wizard
84  'wizard_link' => [
85  'path' => '/wizard/link/browse',
86  'target' => \TYPO3\CMS\Backend\Controller\LinkBrowserController::class . '::mainAction'
87  ],
88 
91  // File navigation tree
92  'file_navframe' => [
93  'path' => '/folder/tree',
94  'target' => Controller\FileSystemNavigationFrameController::class . '::mainAction'
95  ],
96 
97  // Editing the contents of a file
98  'file_edit' => [
99  'path' => '/file/editcontent',
100  'target' => Controller\File\EditFileController::class . '::mainAction'
101  ],
102 
103  // Create a new folder
104  'file_newfolder' => [
105  'path' => '/file/new',
106  'target' => Controller\File\CreateFolderController::class . '::mainAction'
107  ],
108 
109  // Rename a file
110  'file_rename' => [
111  'path' => '/file/rename',
112  'target' => Controller\File\RenameFileController::class . '::mainAction'
113  ],
114 
115  // Replace a file with a different one
116  'file_replace' => [
117  'path' => '/file/replace',
118  'target' => Controller\File\ReplaceFileController::class . '::mainAction'
119  ],
120 
121  // Upload new files
122  'file_upload' => [
123  'path' => '/file/upload',
124  'target' => Controller\File\FileUploadController::class . '::mainAction'
125  ],
126 
127  // Add new online media
128  'online_media' => [
129  'path' => '/online-media',
130  'target' => Controller\OnlineMediaController::class . '::mainAction'
131  ],
132 
134  // Register record history module
135  'record_history' => [
136  'path' => '/record/history',
137  'target' => Controller\ContentElement\ElementHistoryController::class . '::mainAction'
138  ],
139 
140  // Register new record
141  'db_new' => [
142  'path' => '/record/new',
143  'target' => Controller\NewRecordController::class . '::mainAction'
144  ],
145 
146  // Register new content element module
147  'new_content_element' => [
148  'path' => '/record/content/new',
149  'target' => Controller\ContentElement\NewContentElementController::class . '::mainAction'
150  ],
151 
152  // Register move element module
153  'move_element' => [
154  'path' => '/record/move',
155  'target' => Controller\ContentElement\MoveElementController::class . '::mainAction'
156  ],
157 
158  // Register show item module
159  'show_item' => [
160  'path' => '/record/info',
161  'target' => Controller\ContentElement\ElementInformationController::class . '::mainAction'
162  ],
163 
164  // Register browser
165  'browser' => [
166  'path' => '/record/browse',
167  'target' => \TYPO3\CMS\Recordlist\Controller\ElementBrowserFramesetController::class . '::mainAction'
168  ],
169 
170  // Dummy document - displays nothing but background color.
171  'dummy' => [
172  'path' => '/empty',
173  'target' => Controller\DummyController::class . '::mainAction'
174  ],
175 
183  'tce_db' => [
184  'path' => '/record/commit',
185  'target' => Controller\SimpleDataHandlerController::class . '::mainAction'
186  ],
187 
195  'tce_file' => [
196  'path' => '/file/commit',
197  'target' => Controller\File\FileController::class . '::mainAction'
198  ],
199 
205  'record_edit' => [
206  'path' => '/record/edit',
207  'target' => Controller\EditDocumentController::class . '::mainAction'
208  ]
209 ];