ProcessFileListActionsEvent¶
New in version 11.4
The PSR-14 event \TYPO3\
is fired after generating the actions for the files and folders listing in the
File > Filelist module.
This event can be used to manipulate the icons/actions, used for the edit control section in the files and folders listing within the File > Filelist module.
Example¶
Registration of the event listener in the extension's Services.
:
services:
# Place here the default dependency injection configuration
MyVendor\MyExtension\FileList\EventListener\MyEventListener:
tags:
- name: event.listener
identifier: 'my-extension/process-file-list'
Read how to configure dependency injection in extensions.
The corresponding event listener class:
API¶
- class ProcessFileListActionsEvent ¶
-
- Fully qualified name
-
\TYPO3\
CMS\ Filelist\ Event\ Process File List Actions Event
Event fired to modify icons rendered for the file listings
- getResource ( ) ¶
-
- Returns
-
\TYPO3\
CMS\ Core\ Resource\ Resource Interface
- isFile ( ) ¶
-
- Returns
-
bool
- getActionItems ( ) ¶
-
- Returns
-
array
- setActionItems ( array $actionItems) ¶
-
- param $actionItems
-
the actionItems