[TASK] Rename ImageManipulationWizard to ImageManipulationController
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Configuration / Backend / AjaxRoutes.php
1 <?php
2
3 use TYPO3\CMS\Backend\Controller;
4
5 /**
6 * Definitions for routes provided by EXT:backend
7 * Contains all AJAX-based routes for entry points
8 *
9 * Currently the "access" property is only used so no token creation + validation is made
10 * but will be extended further.
11 */
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 // Add a flex form section container
57 'record_flex_container_add' => [
58 'path' => '/record/flex/containeradd',
59 'target' => Controller\FormFlexAjaxController::class . '::containerAdd',
60 ],
61
62 // FormEngine suggest wizard result generator
63 'record_suggest' => [
64 'path' => '/wizard/suggest/search',
65 'target' => \TYPO3\CMS\Backend\Controller\Wizard\SuggestWizardController::class . '::searchAction'
66 ],
67
68 // Fetch the tree-structured data from a record for the tree selection
69 'record_tree_data' => [
70 'path' => '/record/tree/fetchData',
71 'target' => Controller\FormSelectTreeAjaxController::class . '::fetchDataAction'
72 ],
73
74 // Get data for page tree
75 'page_tree_data' => [
76 'path' => '/page/tree/fetchData',
77 'target' => Controller\Page\TreeController::class . '::fetchDataAction'
78 ],
79
80 // Get page tree configuration
81 'page_tree_configuration' => [
82 'path' => '/page/tree/fetchConfiguration',
83 'target' => Controller\Page\TreeController::class . '::fetchConfigurationAction'
84 ],
85
86 // Set temporary mount point
87 'page_tree_set_temporary_mount_point' => [
88 'path' => '/page/tree/setTemporaryMountPoint',
89 'target' => Controller\Page\TreeController::class . '::setTemporaryMountPointAction'
90 ],
91
92 // Get shortcut edit form
93 'shortcut_editform' => [
94 'path' => '/shortcut/editform',
95 'target' => \TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem::class . '::editFormAction'
96 ],
97
98 // Save edited shortcut
99 'shortcut_saveform' => [
100 'path' => '/shortcut/saveform',
101 'target' => \TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem::class . '::saveFormAction'
102 ],
103
104 // Render shortcut toolbar item
105 'shortcut_list' => [
106 'path' => '/shortcut/list',
107 'target' => \TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem::class . '::menuAction'
108 ],
109
110 // Delete a shortcut
111 'shortcut_remove' => [
112 'path' => '/shortcut/remove',
113 'target' => \TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem::class . '::removeShortcutAction'
114 ],
115
116 // Create a new shortcut
117 'shortcut_create' => [
118 'path' => '/shortcut/create',
119 'target' => \TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem::class . '::createShortcutAction'
120 ],
121
122 // Render systeminformtion toolbar item
123 'systeminformation_render' => [
124 'path' => '/system-information/render',
125 'target' => \TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem::class . '::renderMenuAction',
126 'parameters' => [
127 'skipSessionUpdate' => 1
128 ]
129 ],
130
131 // Reload the module menu
132 'modulemenu' => [
133 'path' => '/module-menu',
134 'target' => Controller\BackendController::class . '::getModuleMenu'
135 ],
136 'topbar' => [
137 'path' => '/topbar',
138 'target' => Controller\BackendController::class . '::getTopbar'
139 ],
140
141 // Log in into backend
142 'login' => [
143 'path' => '/login',
144 'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::loginAction',
145 'access' => 'public'
146 ],
147
148 // Log out from backend
149 'logout' => [
150 'path' => '/logout',
151 'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::logoutAction',
152 'access' => 'public'
153 ],
154
155 // Refresh login of backend
156 'login_refresh' => [
157 'path' => '/login/refresh',
158 'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::refreshAction',
159 ],
160
161 // Check if backend session has timed out
162 'login_timedout' => [
163 'path' => '/login/timedout',
164 'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::isTimedOutAction',
165 'access' => 'public',
166 'parameters' => [
167 'skipSessionUpdate' => 1
168 ]
169 ],
170
171 // Render flash messages
172 'flashmessages_render' => [
173 'path' => '/flashmessages/render',
174 'target' => \TYPO3\CMS\Backend\Controller\FlashMessageController::class . '::getQueuedFlashMessagesAction'
175 ],
176
177 // Load context menu for
178 'contextmenu' => [
179 'path' => '/context-menu',
180 'target' => Controller\ContextMenuController::class . '::getContextMenuAction'
181 ],
182
183 // Load context menu for
184 'contextmenu_clipboard' => [
185 'path' => '/context-menu/clipboard',
186 'target' => Controller\ContextMenuController::class . '::clipboardAction'
187 ],
188
189 // Process data handler commands
190 'record_process' => [
191 'path' => '/record/process',
192 'target' => Controller\SimpleDataHandlerController::class . '::processAjaxRequest'
193 ],
194
195 // Process user settings
196 'usersettings_process' => [
197 'path' => '/usersettings/process',
198 'target' => Controller\UserSettingsController::class . '::processAjaxRequest'
199 ],
200
201 // Open the image manipulation wizard
202 'wizard_image_manipulation' => [
203 'path' => '/wizard/image-manipulation',
204 'target' => \TYPO3\CMS\Backend\Controller\Wizard\ImageManipulationController::class . '::getWizardContent'
205 ],
206
207 // Save a newly added online media
208 'livesearch' => [
209 'path' => '/livesearch',
210 'target' => Controller\LiveSearchController::class . '::liveSearchAction'
211 ],
212
213 // Save a newly added online media
214 'online_media_create' => [
215 'path' => '/online-media/create',
216 'target' => Controller\OnlineMediaController::class . '::createAction'
217 ],
218
219 // Get icon from IconFactory
220 'icons' => [
221 'path' => '/icons',
222 'target' => \TYPO3\CMS\Core\Imaging\IconFactory::class . '::processAjaxRequest'
223 ],
224
225 // Encode typolink parts on demand
226 'link_browser_encodetypolink' => [
227 'path' => '/link-browser/encode-typolink',
228 'target' => \TYPO3\CMS\Backend\Controller\LinkBrowserController::class . '::encodeTypoLink',
229 ],
230
231 // Get languages in page and colPos
232 'languages_page_colpos' => [
233 'path' => '/records/localize/get-languages',
234 'target' => Controller\Page\LocalizationController::class . '::getUsedLanguagesInPageAndColumn'
235 ],
236
237 // Get summary of records to localize
238 'records_localize_summary' => [
239 'path' => '/records/localize/summary',
240 'target' => Controller\Page\LocalizationController::class . '::getRecordLocalizeSummary'
241 ],
242
243 // Localize the records
244 'records_localize' => [
245 'path' => '/records/localize',
246 'target' => Controller\Page\LocalizationController::class . '::localizeRecords'
247 ],
248
249 // context help
250 'context_help' => [
251 'path' => '/context-help',
252 'target' => \TYPO3\CMS\Backend\Controller\ContextHelpAjaxController::class . '::getHelpAction'
253 ]
254 ];