‪TYPO3CMS  10.4
TYPO3\CMS\Core\Resource\Event\AfterFileDeletedEvent Class Reference

Public Member Functions

 __construct (FileInterface $file)
 
 getFile ()
 

Private Attributes

FileInterface $file
 

Detailed Description

This event is fired after a file was deleted.

Example: If an extension provides additional functionality (e.g. variants), this event allows listener to also clean up their custom handling. This can also be used for versioning of files.

Definition at line 28 of file AfterFileDeletedEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Resource\Event\AfterFileDeletedEvent::__construct ( FileInterface  $file)

Member Function Documentation

◆ getFile()

Member Data Documentation

◆ $file

FileInterface TYPO3\CMS\Core\Resource\Event\AfterFileDeletedEvent::$file
private