33 lines
1.1 KiB
PHP
33 lines
1.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Definitions for routes provided by EXT:backend
|
|
* Contains all "regular" routes for entry points
|
|
*
|
|
* Please note that this setup is preliminary until all core use-cases are set up here.
|
|
* Especially some more properties regarding modules will be added until TYPO3 CMS 7 LTS, and might change.
|
|
*
|
|
* Currently the "access" property is only used so no token creation + validation is made,
|
|
* but will be extended further.
|
|
*/
|
|
return [
|
|
|
|
// Editing the contents of a file
|
|
'file_edit' => [
|
|
'path' => '/file/editcontent',
|
|
'target' => \TYPO3\CMS\Filelist\Controller\File\EditFileController::class . '::mainAction',
|
|
],
|
|
|
|
'file_download' => [
|
|
'path' => '/file/download',
|
|
'methods' => ['POST'],
|
|
'target' => \TYPO3\CMS\Filelist\Controller\FileDownloadController::class . '::handleRequest',
|
|
],
|
|
|
|
'file_update_online_media' => [
|
|
'path' => '/file/update-online-media',
|
|
'methods' => ['POST'],
|
|
'target' => \TYPO3\CMS\Filelist\Controller\FileUpdateOnlineMediaController::class . '::handleRequest',
|
|
],
|
|
];
|