TYPO3  7.6
t3editor/Configuration/Backend/AjaxRoutes.php
Go to the documentation of this file.
1 <?php
2 
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 ];