AfterFileReplacedEvent¶
The PSR-14 event \TYPO3\
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¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API¶
- class AfterFileReplacedEvent ¶
-
- Fully qualified name
-
\TYPO3\
CMS\ Core\ Resource\ Event\ After File Replaced Event
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\ File Interface
- getLocalFilePath ( ) ¶
-
- Returns
-
string