BeforeFileMovedEvent¶
This event is fired before a file is about to be moved within a Resource Storage / Driver. The folder represents the "target folder".
API¶
Method: getFile() Description: Returns the file object. ReturnType: TYPO3CMSCoreResourceFileInterface
Method: getFolder() Description: Returns the folder where the file is stored. ReturnType: TYPO3CMSCoreResourceFolder
Method: getTargetFileName() Description: Returns the new file name of the file to be moved. ReturnType: string