Attention
TYPO3 v12 has reached end-of-life as of April 30th 2026 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v12 here: TYPO3 ELTS.
AfterFileAddedEvent
The PSR-14 event
\TYPO3\
is fired after a file was added to the resource
storage /
driver.
Example: Using listeners for this event allows, for example, to post-check permissions or perform specific analysis of files like additional metadata analysis after adding them to TYPO3.
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 AfterFileAddedEvent
-
- Fully qualified name
-
\TYPO3\
CMS\ Core\ Resource\ Event\ After File Added Event
This event is fired after a file was added to the Resource Storage / Driver.
Use case: Using listeners for this event allows to e.g. post-check permissions or specific analysis of files like additional metadata analysis after adding them to TYPO3.