[!!!][FEATURE] Introduce PSR-7-based Routing for Backend AJAX Requests
[Packages/TYPO3.CMS.git] / typo3 / sysext / t3editor / Configuration / Backend / AjaxRoutes.php
1 <?php
2
3 /**
4 * Definitions for routes provided by EXT:t3editor
5 */
6 return [
7 // Save the TypoScript
8 't3editor_save' => [
9 'path' => '/t3editor/save',
10 'target' => \TYPO3\CMS\T3editor\T3editor::class . '::ajaxSaveCode'
11 ],
12
13 // Get plugins
14 't3editor_get_plugins' => [
15 'path' => '/t3editor/get-plugins',
16 'target' => \TYPO3\CMS\T3editor\T3editor::class . '::getPlugins'
17 ],
18
19 // Get TSRef
20 't3editor_tsref' => [
21 'path' => '/t3editor/tsref',
22 'target' => \TYPO3\CMS\T3editor\TypoScriptReferenceLoader::class . '::processAjaxRequest'
23 ],
24
25 // Load code completion templates
26 't3editor_codecompletion_loadtemplates' => [
27 'path' => '/t3editor/codecompletion/load-templates',
28 'target' => \TYPO3\CMS\T3editor\CodeCompletion::class . '::processAjaxRequest'
29 ]
30 ];