AfterFileReplacedEvent

The PSR-14 event \TYPO3\CMS\Core\Resource\Event\AfterFileReplacedEvent is fired after a file was replaced.

Example: Further process a file or create variants, or index the contents of a file for AI analysis etc.

Example

API

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

This event is fired after a file was replaced.

Example: Further process a file or create variants, or index the contents of a file for AI analysis etc.

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