‪TYPO3CMS  10.4
Routes.php
Go to the documentation of this file.
1 <?php
2 
13 return [
14 
15  // Editing the contents of a file
16  'file_edit' => [
17  'path' => '/file/editcontent',
18  'target' => \TYPO3\CMS\Filelist\Controller\File\EditFileController::class . '::mainAction'
19  ],
20 
21  // Create a new folder
22  'file_newfolder' => [
23  'path' => '/file/new',
24  'target' => \TYPO3\CMS\Filelist\Controller\File\CreateFolderController::class . '::mainAction'
25  ],
26 
27  // Rename a file
28  'file_rename' => [
29  'path' => '/file/rename',
30  'target' => \TYPO3\CMS\Filelist\Controller\File\RenameFileController::class . '::mainAction'
31  ],
32 
33  // Replace a file with a different one
34  'file_replace' => [
35  'path' => '/file/replace',
36  'target' => \TYPO3\CMS\Filelist\Controller\File\ReplaceFileController::class . '::mainAction'
37  ],
38 
39  // Upload new files
40  'file_upload' => [
41  'path' => '/file/upload',
42  'target' => \TYPO3\CMS\Filelist\Controller\File\FileUploadController::class . '::mainAction'
43  ],
44 ];