‪TYPO3CMS  9.5
Routes.php
Go to the documentation of this file.
1 <?php
2 
4 
15 return [
16  // Login screen of the TYPO3 Backend
17  'login' => [
18  'path' => '/login',
19  'access' => 'public',
20  'target' => Controller\LoginController::class . '::formAction'
21  ],
22 
23  // Main backend rendering setup (previously called backend.php) for the TYPO3 Backend
24  'main' => [
25  'path' => '/main',
26  'referrer' => 'required,refresh-always',
27  'target' => Controller\BackendController::class . '::mainAction'
28  ],
29 
30  // Logout script for the TYPO3 Backend
31  'logout' => [
32  'path' => '/logout',
33  'target' => Controller\LogoutController::class . '::logoutAction'
34  ],
35 
36  // Register login frameset
37  'login_frameset' => [
38  'path' => '/login/frame',
39  'access' => 'public',
40  'target' => Controller\LoginController::class . '::refreshAction'
41  ],
42 
44  // Register table wizard
45  'wizard_table' => [
46  'path' => '/wizard/table',
47  'target' => Controller\Wizard\TableController::class . '::mainAction'
48  ],
49 
50  // Register add wizard
51  'wizard_add' => [
52  'path' => '/wizard/add',
53  'target' => Controller\Wizard\AddController::class . '::mainAction'
54  ],
55 
56  // Register list wizard
57  'wizard_list' => [
58  'path' => '/wizard/list',
59  'target' => Controller\Wizard\ListController::class . '::mainAction'
60  ],
61 
62  // Register edit wizard
63  'wizard_edit' => [
64  'path' => '/wizard/edit',
65  'target' => Controller\Wizard\EditController::class . '::mainAction'
66  ],
67 
68  // Register link wizard
69  'wizard_link' => [
70  'path' => '/wizard/link/browse',
71  'target' => \TYPO3\CMS\Backend\Controller\LinkBrowserController::class . '::mainAction'
72  ],
73 
76  // File navigation tree
77  'file_navframe' => [
78  'path' => '/folder/tree',
79  'target' => Controller\FileSystemNavigationFrameController::class . '::mainAction'
80  ],
81 
82  // Editing the contents of a file
83  'file_edit' => [
84  'path' => '/file/editcontent',
85  'target' => Controller\File\EditFileController::class . '::mainAction'
86  ],
87 
88  // Create a new folder
89  'file_newfolder' => [
90  'path' => '/file/new',
91  'target' => Controller\File\CreateFolderController::class . '::mainAction'
92  ],
93 
94  // Rename a file
95  'file_rename' => [
96  'path' => '/file/rename',
97  'target' => Controller\File\RenameFileController::class . '::mainAction'
98  ],
99 
100  // Replace a file with a different one
101  'file_replace' => [
102  'path' => '/file/replace',
103  'target' => Controller\File\ReplaceFileController::class . '::mainAction'
104  ],
105 
106  // Upload new files
107  'file_upload' => [
108  'path' => '/file/upload',
109  'target' => Controller\File\FileUploadController::class . '::mainAction'
110  ],
111 
112  // Add new online media
113  'online_media' => [
114  'path' => '/online-media',
115  'target' => Controller\OnlineMediaController::class . '::mainAction'
116  ],
117 
119  // Register record history module
120  'record_history' => [
121  'path' => '/record/history',
122  'target' => Controller\ContentElement\ElementHistoryController::class . '::mainAction'
123  ],
124 
125  // Register new record
126  'db_new' => [
127  'path' => '/record/new',
128  'target' => Controller\NewRecordController::class . '::mainAction'
129  ],
130 
131  // Register sort pages
132  'pages_sort' => [
133  'path' => '/pages/sort',
134  'target' => Controller\Page\SortSubPagesController::class . '::mainAction'
135  ],
136 
137  // Register create multiple pages
138  'pages_new' => [
139  'path' => '/pages/new',
140  'target' => Controller\Page\NewMultiplePagesController::class . '::mainAction'
141  ],
142 
143  // Register new content element module (as whole document)
144  'new_content_element' => [
145  'path' => '/record/content/new',
146  'target' => Controller\ContentElement\NewContentElementController::class . '::mainAction'
147  ],
148 
149  // Register new content element module (in modal)
150  'new_content_element_wizard' => [
151  'path' => '/record/content/wizard/new',
152  'target' => Controller\ContentElement\NewContentElementController::class . '::wizardAction'
153  ],
154 
155  // Register move element module
156  'move_element' => [
157  'path' => '/record/move',
158  'target' => Controller\ContentElement\MoveElementController::class . '::mainAction'
159  ],
160 
161  // Register show item module
162  'show_item' => [
163  'path' => '/record/info',
164  'target' => Controller\ContentElement\ElementInformationController::class . '::mainAction'
165  ],
166 
167  // Register browser
168  // @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0.
169  'browser' => [
170  'path' => '/record/browse',
171  'target' => \TYPO3\CMS\Recordlist\Controller\ElementBrowserFramesetController::class . '::mainAction'
172  ],
173 
174  // Dummy document - displays nothing but background color.
175  'dummy' => [
176  'path' => '/empty',
177  'target' => Controller\DummyController::class . '::mainAction'
178  ],
179 
187  'tce_db' => [
188  'path' => '/record/commit',
189  'target' => Controller\SimpleDataHandlerController::class . '::mainAction'
190  ],
191 
199  'tce_file' => [
200  'path' => '/file/commit',
201  'target' => Controller\File\FileController::class . '::mainAction'
202  ],
203 
209  'record_edit' => [
210  'path' => '/record/edit',
211  'target' => Controller\EditDocumentController::class . '::mainAction'
212  ],
213 
214  // Thumbnails
215  'thumbnails' => [
216  'path' => '/thumbnails',
217  'target' => Controller\File\ThumbnailController::class . '::render'
218  ]
219 ];
‪TYPO3\CMS\Backend\Controller
Definition: AbstractFormEngineAjaxController.php:3