FileDeletionAspect
FinalYes
The aspect cleans up database records, processed files and file references
We do not have AOP in TYPO3 for now, thus the aspect which deals with deleted files is a list of PSR-14 event listeners which react on file deletion.
this is a list of Event Listeners, and not part of TYPO3 Core API.
Table of Contents
Methods
- cleanupProcessedFilesPostFileAdd() : void
- cleanupProcessedFilesPostFileReplace() : void
- removeFromRepositoryAfterFileDeleted() : void
Methods
cleanupProcessedFilesPostFileAdd()
public
cleanupProcessedFilesPostFileAdd(AfterFileAddedEvent $event) : void
Parameters
- $event : AfterFileAddedEvent
Attributes
- #[AsEventListener]
- 'delete-processed-files-after-add'
cleanupProcessedFilesPostFileReplace()
public
cleanupProcessedFilesPostFileReplace(AfterFileReplacedEvent $event) : void
Parameters
- $event : AfterFileReplacedEvent
Attributes
- #[AsEventListener]
- 'delete-processed-files-after-replace'
removeFromRepositoryAfterFileDeleted()
public
removeFromRepositoryAfterFileDeleted(AfterFileDeletedEvent $event) : void
Parameters
- $event : AfterFileDeletedEvent
Attributes
- #[AsEventListener]
- 'delete-processed-files-after-delete'