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.

API

  • Method:getFile()
    Description:Returns the file object.
    ReturnType:TYPO3CMSCoreResourceFileInterface
  • Method:getLocalFilePath()
    Description:Returns the path to the local file (with which the file object will be replaced).
    ReturnType:string