AfterFileMovedEvent

The PSR-14 event \TYPO3\CMS\Core\Resource\Event\AfterFileMovedEvent is fired after a file was moved within a resource storage / driver. The folder represents the "target folder".

Example: Use this to update custom third-party handlers that rely on specific paths.

API

class TYPO3\CMS\Core\Resource\Event\AfterFileMovedEvent

This event is fired after a file was moved within a Resource Storage / Driver.

The folder represents the "target folder".

Examples: Use this to update custom third party handlers that rely on specific paths.

getFile()
Return type

TYPO3\CMS\Core\Resource\FileInterface

getFolder()
Return type

TYPO3\CMS\Core\Resource\Folder

getOriginalFolder()
Return type

TYPO3\CMS\Core\Resource\FolderInterface