‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Resource\Event\BeforeFileDeletedEvent Class Reference

Public Member Functions

 __construct (private FileInterface $file)
 
 getFile ()
 

Detailed Description

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

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

Definition at line 27 of file BeforeFileDeletedEvent.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 29 of file BeforeFileDeletedEvent.php.

Member Function Documentation

◆ getFile()

TYPO3\CMS\Core\Resource\Event\BeforeFileDeletedEvent::getFile ( )

Definition at line 31 of file BeforeFileDeletedEvent.php.