TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
use TYPO3\CMS\Filelist\Controller\FileListController;
|
||||
|
||||
/**
|
||||
* Definitions for modules provided by EXT:filelist
|
||||
*/
|
||||
return [
|
||||
'media_management' => [
|
||||
'parent' => 'media',
|
||||
'access' => 'user',
|
||||
'path' => '/module/file/list',
|
||||
'iconIdentifier' => 'module-file',
|
||||
'labels' => 'filelist.module',
|
||||
'aliases' => ['file_FilelistList'],
|
||||
'routes' => [
|
||||
'_default' => [
|
||||
'target' => FileListController::class . '::handleRequest',
|
||||
],
|
||||
],
|
||||
'moduleData' => [
|
||||
'displayThumbs' => true,
|
||||
'clipBoard' => true,
|
||||
'sortField' => 'name',
|
||||
'sortDirection' => \TYPO3\CMS\Filelist\Type\SortDirection::ASCENDING->value,
|
||||
'viewMode' => null,
|
||||
],
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,32 @@
|
||||
<?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',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user