BeforeFileMovedEvent

The PSR-14 event \TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent is fired before a file is about to be moved within a resource storage / driver. The folder represents the "target folder".

Example

API

class BeforeFileMovedEvent
Fully qualified name
\TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent

This event is fired before a file is about to be moved within a Resource Storage / Driver.

The folder represents the "target folder".

getFile ( )
Returns
TYPO3CMSCoreResourceFileInterface
getFolder ( )
Returns
TYPO3CMSCoreResourceFolder
getTargetFileName ( )
Returns
string