Attention

TYPO3 v10 has reached end-of-life as of April 30th 2023 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 v10 here: TYPO3 ELTS.

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.

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 (TYPO3CMSCoreResourceProcessedFile) -- 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