[!!!][FEATURE] Introduce PSR-7-based Routing for Backend AJAX Requests
[Packages/TYPO3.CMS.git] / typo3 / sysext / opendocs / Configuration / Backend / AjaxRoutes.php
1 <?php
2
3 /**
4 * Definitions for routes provided by EXT:opendocs
5 */
6 return [
7 // Render the opendocs toolbar item
8 'opendocs_menu' => [
9 'path' => '/opendocs/menu',
10 'target' => \TYPO3\CMS\Opendocs\Backend\ToolbarItems\OpendocsToolbarItem::class . '::renderMenu'
11 ],
12
13 // Close a document
14 'opendocs_closedoc' => [
15 'path' => '/opendocs/close',
16 'target' => \TYPO3\CMS\Opendocs\Backend\ToolbarItems\OpendocsToolbarItem::class . '::closeDocument'
17 ],
18 ];