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.

Example

API

class AfterFileMovedEvent
Fully qualified name
\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 ( )
Returns
\TYPO3\CMS\Core\Resource\FileInterface
getFolder ( )
Returns
\TYPO3\CMS\Core\Resource\Folder
getOriginalFolder ( )
Returns
\TYPO3\CMS\Core\Resource\FolderInterface