BeforeFileDeletedEvent

The PSR-14 event \TYPO3\CMS\Core\Resource\Event\BeforeFileDeletedEvent is fired before a file is about to be deleted.

Event listeners can clean up third-party references with this event.

Example

API

class BeforeFileDeletedEvent
Fully qualified name
\TYPO3\CMS\Core\Resource\Event\BeforeFileDeletedEvent

This event is fired before a file is about to be deleted.

Event listeners can clean up third-party references with this event.

getFile ( )
Returns
\TYPO3\CMS\Core\Resource\FileInterface