AfterFileReplacedEvent
Read onlyYes
FinalYes
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.
Table of Contents
Methods
- __construct() : mixed
- getFile() : FileInterface
- getLocalFilePath() : string
Methods
__construct()
public
__construct(FileInterface $file, string $localFilePath) : mixed
Parameters
- $file : FileInterface
- $localFilePath : string
getFile()
public
getFile() : FileInterface
Return values
FileInterfacegetLocalFilePath()
public
getLocalFilePath() : string