‪TYPO3CMS  10.4
AjaxRoutes.php
Go to the documentation of this file.
1 <?php
2 
4 
12 return [
13 
14  // Expand or toggle in legacy file tree
15  'sc_alt_file_navframe_expandtoggle' => [
16  'path' => '/folder/tree/expand',
17  'target' => Controller\FileSystemNavigationFrameController::class . '::ajaxExpandCollapse'
18  ],
19 
20  // File processing
21  'file_process' => [
22  'path' => '/file/process',
23  'target' => Controller\File\FileController::class . '::processAjaxRequest'
24  ],
25 
26  // Check if file exists
27  'file_exists' => [
28  'path' => '/file/exists',
29  'target' => Controller\File\FileController::class . '::fileExistsInFolderAction'
30  ],
31 
32  // Get record details of a child record in IRRE
33  'record_inline_details' => [
34  'path' => '/record/inline/details',
35  'target' => Controller\FormInlineAjaxController::class . '::detailsAction'
36  ],
37 
38  // Create new inline element
39  'record_inline_create' => [
40  'path' => '/record/inline/create',
41  'target' => Controller\FormInlineAjaxController::class . '::createAction'
42  ],
43 
44  // Synchronize localization
45  'record_inline_synchronizelocalize' => [
46  'path' => '/record/inline/synchronizelocalize',
47  'target' => Controller\FormInlineAjaxController::class . '::synchronizeLocalizeAction'
48  ],
49 
50  // Expand / Collapse inline record
51  'record_inline_expandcollapse' => [
52  'path' => '/record/inline/expandcollapse',
53  'target' => Controller\FormInlineAjaxController::class . '::expandOrCollapseAction'
54  ],
55 
56  // Site configuration inline create route
57  'site_configuration_inline_create' => [
58  'path' => '/siteconfiguration/inline/create',
59  'target' => Controller\SiteInlineAjaxController::class . '::newInlineChildAction'
60  ],
61 
62  // Validate slug input
63  'record_slug_suggest' => [
64  'path' => '/record/slug/suggest',
65  'target' => Controller\FormSlugAjaxController::class . '::suggestAction'
66  ],
67 
68  // Site configuration inline open existing "record" route
69  'site_configuration_inline_details' => [
70  'path' => '/siteconfiguration/inline/details',
71  'target' => Controller\SiteInlineAjaxController::class . '::openInlineChildAction'
72  ],
73 
74  // Add a flex form section container
75  'record_flex_container_add' => [
76  'path' => '/record/flex/containeradd',
77  'target' => Controller\FormFlexAjaxController::class . '::containerAdd',
78  ],
79 
80  // FormEngine suggest wizard result generator
81  'record_suggest' => [
82  'path' => '/wizard/suggest/search',
83  'target' => \TYPO3\CMS\Backend\Controller\Wizard\SuggestWizardController::class . '::searchAction'
84  ],
85 
86  // Fetch the tree-structured data from a record for the tree selection
87  'record_tree_data' => [
88  'path' => '/record/tree/fetchData',
89  'target' => Controller\FormSelectTreeAjaxController::class . '::fetchDataAction'
90  ],
91 
92  // Get data for page tree
93  'page_tree_data' => [
94  'path' => '/page/tree/fetchData',
95  'target' => Controller\Page\TreeController::class . '::fetchDataAction'
96  ],
97 
98  // Get data for page tree
99  'page_tree_filter' => [
100  'path' => '/page/tree/filterData',
101  'target' => Controller\Page\TreeController::class . '::filterDataAction'
102  ],
103 
104  // Get page tree configuration
105  'page_tree_configuration' => [
106  'path' => '/page/tree/fetchConfiguration',
107  'target' => Controller\Page\TreeController::class . '::fetchConfigurationAction'
108  ],
109 
110  // Set temporary mount point
111  'page_tree_set_temporary_mount_point' => [
112  'path' => '/page/tree/setTemporaryMountPoint',
113  'target' => Controller\Page\TreeController::class . '::setTemporaryMountPointAction'
114  ],
115 
116  // Get shortcut edit form
117  'shortcut_editform' => [
118  'path' => '/shortcut/editform',
119  'target' => Controller\ShortcutController::class . '::showEditFormAction'
120  ],
121 
122  // Save edited shortcut
123  'shortcut_saveform' => [
124  'path' => '/shortcut/saveform',
125  'target' => Controller\ShortcutController::class . '::updateAction'
126  ],
127 
128  // Render shortcut toolbar item
129  'shortcut_list' => [
130  'path' => '/shortcut/list',
131  'target' => Controller\ShortcutController::class . '::menuAction'
132  ],
133 
134  // Delete a shortcut
135  'shortcut_remove' => [
136  'path' => '/shortcut/remove',
137  'target' => Controller\ShortcutController::class . '::removeAction'
138  ],
139 
140  // Create a new shortcut
141  'shortcut_create' => [
142  'path' => '/shortcut/create',
143  'target' => Controller\ShortcutController::class . '::addAction'
144  ],
145 
146  // Render systeminformation toolbar item
147  'systeminformation_render' => [
148  'path' => '/system-information/render',
149  'target' => \TYPO3\CMS\Backend\Controller\SystemInformationController::class . '::renderMenuAction',
150  'parameters' => [
151  'skipSessionUpdate' => 1
152  ]
153  ],
154 
155  // Reload the module menu
156  'modulemenu' => [
157  'path' => '/module-menu',
158  'target' => Controller\BackendController::class . '::getModuleMenu'
159  ],
160  'topbar' => [
161  'path' => '/topbar',
162  'target' => Controller\BackendController::class . '::getTopbar'
163  ],
164 
165  // Log in into backend
166  'login' => [
167  'path' => '/login',
168  'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::loginAction',
169  'access' => 'public'
170  ],
171 
172  // Log out from backend
173  'logout' => [
174  'path' => '/logout',
175  'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::logoutAction',
176  'access' => 'public'
177  ],
178 
179  // Preflight check for login form
180  'login_preflight' => [
181  'path' => '/login/preflight',
182  'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::preflightAction',
183  'access' => 'public'
184  ],
185 
186  // Refresh login of backend
187  'login_refresh' => [
188  'path' => '/login/refresh',
189  'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::refreshAction',
190  ],
191 
192  // Check if backend session has timed out
193  'login_timedout' => [
194  'path' => '/login/timedout',
195  'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::isTimedOutAction',
196  'access' => 'public',
197  'parameters' => [
198  'skipSessionUpdate' => 1
199  ]
200  ],
201 
202  // Render flash messages
203  'flashmessages_render' => [
204  'path' => '/flashmessages/render',
205  'target' => \TYPO3\CMS\Backend\Controller\FlashMessageController::class . '::getQueuedFlashMessagesAction'
206  ],
207 
208  // Load context menu for
209  'contextmenu' => [
210  'path' => '/context-menu',
211  'target' => Controller\ContextMenuController::class . '::getContextMenuAction'
212  ],
213 
214  // Load context menu for
215  'contextmenu_clipboard' => [
216  'path' => '/context-menu/clipboard',
217  'target' => Controller\ContextMenuController::class . '::clipboardAction'
218  ],
219 
220  // Process data handler commands
221  'record_process' => [
222  'path' => '/record/process',
223  'target' => Controller\SimpleDataHandlerController::class . '::processAjaxRequest'
224  ],
225 
226  // Process user settings
227  'usersettings_process' => [
228  'path' => '/usersettings/process',
229  'target' => Controller\UserSettingsController::class . '::processAjaxRequest'
230  ],
231 
232  // Open the image manipulation wizard
233  'wizard_image_manipulation' => [
234  'path' => '/wizard/image-manipulation',
235  'target' => \TYPO3\CMS\Backend\Controller\Wizard\ImageManipulationController::class . '::getWizardContent'
236  ],
237 
238  // Save a newly added online media
239  'livesearch' => [
240  'path' => '/livesearch',
241  'target' => Controller\LiveSearchController::class . '::liveSearchAction'
242  ],
243 
244  // Save a newly added online media
245  'online_media_create' => [
246  'path' => '/online-media/create',
247  'target' => Controller\OnlineMediaController::class . '::createAction'
248  ],
249 
250  // Get icon from IconFactory
251  'icons' => [
252  'path' => '/icons',
253  'target' => \TYPO3\CMS\Core\Controller\IconController::class . '::getIcon'
254  ],
255 
256  // Get icon cache identifier
257  'icons_cache' => [
258  'path' => '/icons/cache',
259  'target' => \TYPO3\CMS\Core\Controller\IconController::class . '::getCacheIdentifier'
260  ],
261 
262  // Encode typolink parts on demand
263  'link_browser_encodetypolink' => [
264  'path' => '/link-browser/encode-typolink',
265  'target' => \TYPO3\CMS\Backend\Controller\LinkBrowserController::class . '::encodeTypoLink',
266  ],
267 
268  // Get languages in page
269  'page_languages' => [
270  'path' => '/records/localize/get-languages',
271  'target' => Controller\Page\LocalizationController::class . '::getUsedLanguagesInPage'
272  ],
273 
274  // Get summary of records to localize
275  'records_localize_summary' => [
276  'path' => '/records/localize/summary',
277  'target' => Controller\Page\LocalizationController::class . '::getRecordLocalizeSummary'
278  ],
279 
280  // Localize the records
281  'records_localize' => [
282  'path' => '/records/localize',
283  'target' => Controller\Page\LocalizationController::class . '::localizeRecords'
284  ],
285 
286  // context help
287  'context_help' => [
288  'path' => '/context-help',
289  'target' => \TYPO3\CMS\Backend\Controller\ContextHelpAjaxController::class . '::getHelpAction'
290  ]
291 ];
‪TYPO3\CMS\Backend\Controller
Definition: AbstractFormEngineAjaxController.php:18