AfterFileProcessingEvent
The PSR-14 event
\TYPO3\
is fired after a file object has been processed.
This allows to further customize a file object's processed file.
Changed in version 15.0 Breaking: #110702 - Widened FAL processing task interfaces
The event is also dispatched for system resources from EXT: and PKG:.
For them,
get returns a
System
and
get returns null. Check both before you use methods
that only a FAL file or a driver has.
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
-
final class
AfterFileProcessingEvent -
- Fully qualified name
-
\TYPO3\CMS\ Core\ Resource\ Event\ After File Processing Event
This event is fired after a file object has been processed.
This allows to further customize a file object's processed file.
The driver is only present for a FAL File; a resource outside the File Abstraction Layer (for example a system resource shipped with a package) has none, since it is never fetched through a ResourceStorage driver in the first place.
setProcessedFile(\TYPO3\CMS\Core\Resource\ProcessedResourceInterface $processedFile)- param $processedFile
-
the processedFile