BeforeFileReplacedEvent

This event is fired before a file is about to be replaced. Custom listeners can check for file integrity or analyze the content of the file before it gets added.

API

getFile()

| ReturnType: \TYPO3\CMS\Core\Resource\FileInterface |

 

getLocalFilePath()

| ReturnType: string |