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
cleanupProcessedFilesPostFileReplace()
public
cleanupProcessedFilesPostFileReplace(AfterFileReplacedEvent $event) : void
Parameters
- $event : AfterFileReplacedEvent
removeFromRepositoryAfterFileDeleted()
public
removeFromRepositoryAfterFileDeleted(AfterFileDeletedEvent $event) : void
Parameters
- $event : AfterFileDeletedEvent