BeforeFileProcessingEvent

The PSR-14 event \TYPO3\CMS\Core\Resource\Event\BeforeFileProcessingEvent is fired before a file object is processed. This allows to add further information or enrich the file before the processing is kicking in.

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 TYPO3\CMS\Core\Resource\Event\BeforeFileProcessingEvent

This event is fired before a file object is processed.

Allows to add further information or enrich the file before the processing is kicking in.

getProcessedFile()
Return type

TYPO3\CMS\Core\Resource\ProcessedFile

setProcessedFile(TYPO3\\CMS\\Core\\Resource\\ProcessedFile $processedFile)
Parameters
  • $processedFile (TYPO3\CMS\Core\Resource\ProcessedFile) -- the processedFile

getDriver()
Return type

TYPO3\CMS\Core\Resource\Driver\DriverInterface

getFile()
Return type

TYPO3\CMS\Core\Resource\FileInterface

getTaskType()
Return type

string

getConfiguration()
Return type

array