TYPO3 CMS  TYPO3_8-7
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 colorpicker wizard
42  // @deprecated since TYPO3 v8, will be removed in TYPO3 v9.
43  'wizard_colorpicker' => [
44  'path' => '/wizard/colorpicker',
45  'target' => Controller\Wizard\ColorpickerController::class . '::mainAction'
46  ],
47 
48  // Register table wizard
49  'wizard_table' => [
50  'path' => '/wizard/table',
51  'target' => Controller\Wizard\TableController::class . '::mainAction'
52  ],
53 
54  // Register add wizard
55  'wizard_add' => [
56  'path' => '/wizard/add',
57  'target' => Controller\Wizard\AddController::class . '::mainAction'
58  ],
59 
60  // Register list wizard
61  'wizard_list' => [
62  'path' => '/wizard/list',
63  'target' => Controller\Wizard\ListController::class . '::mainAction'
64  ],
65 
66  // Register edit wizard
67  'wizard_edit' => [
68  'path' => '/wizard/edit',
69  'target' => Controller\Wizard\EditController::class . '::mainAction'
70  ],
71 
72  // Register link wizard
73  'wizard_link' => [
74  'path' => '/wizard/link/browse',
75  'target' => \TYPO3\CMS\Backend\Controller\LinkBrowserController::class . '::mainAction'
76  ],
77 
80  // File navigation tree
81  'file_navframe' => [
82  'path' => '/folder/tree',
83  'target' => Controller\FileSystemNavigationFrameController::class . '::mainAction'
84  ],
85 
86  // Editing the contents of a file
87  'file_edit' => [
88  'path' => '/file/editcontent',
89  'target' => Controller\File\EditFileController::class . '::mainAction'
90  ],
91 
92  // Create a new folder
93  'file_newfolder' => [
94  'path' => '/file/new',
95  'target' => Controller\File\CreateFolderController::class . '::mainAction'
96  ],
97 
98  // Rename a file
99  'file_rename' => [
100  'path' => '/file/rename',
101  'target' => Controller\File\RenameFileController::class . '::mainAction'
102  ],
103 
104  // Replace a file with a different one
105  'file_replace' => [
106  'path' => '/file/replace',
107  'target' => Controller\File\ReplaceFileController::class . '::mainAction'
108  ],
109 
110  // Upload new files
111  'file_upload' => [
112  'path' => '/file/upload',
113  'target' => Controller\File\FileUploadController::class . '::mainAction'
114  ],
115 
116  // Add new online media
117  'online_media' => [
118  'path' => '/online-media',
119  'target' => Controller\OnlineMediaController::class . '::mainAction'
120  ],
121 
123  // Register record history module
124  'record_history' => [
125  'path' => '/record/history',
126  'target' => Controller\ContentElement\ElementHistoryController::class . '::mainAction'
127  ],
128 
129  // Register new record
130  'db_new' => [
131  'path' => '/record/new',
132  'target' => Controller\NewRecordController::class . '::mainAction'
133  ],
134 
135  // Register new content element module
136  'new_content_element' => [
137  'path' => '/record/content/new',
138  'target' => Controller\ContentElement\NewContentElementController::class . '::mainAction'
139  ],
140 
141  // Register move element module
142  'move_element' => [
143  'path' => '/record/move',
144  'target' => Controller\ContentElement\MoveElementController::class . '::mainAction'
145  ],
146 
147  // Register show item module
148  'show_item' => [
149  'path' => '/record/info',
150  'target' => Controller\ContentElement\ElementInformationController::class . '::mainAction'
151  ],
152 
153  // Register browser
154  'browser' => [
155  'path' => '/record/browse',
156  'target' => \TYPO3\CMS\Recordlist\Controller\ElementBrowserFramesetController::class . '::mainAction'
157  ],
158 
159  // Dummy document - displays nothing but background color.
160  'dummy' => [
161  'path' => '/empty',
162  'target' => Controller\DummyController::class . '::mainAction'
163  ],
164 
172  'tce_db' => [
173  'path' => '/record/commit',
174  'target' => Controller\SimpleDataHandlerController::class . '::mainAction'
175  ],
176 
184  'tce_file' => [
185  'path' => '/file/commit',
186  'target' => Controller\File\FileController::class . '::mainAction'
187  ],
188 
194  'record_edit' => [
195  'path' => '/record/edit',
196  'target' => Controller\EditDocumentController::class . '::mainAction'
197  ],
198 
199  // Thumbnails
200  'thumbnails' => [
201  'path' => '/thumbnails',
202  'target' => Controller\File\ThumbnailController::class . '::render'
203  ]
204 ];