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¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
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 ( ) ¶
-
- returntype
-
TYPO3\CMS\Core\Resource\FileInterface
- getFolder ( ) ¶
-
- returntype
-
TYPO3\CMS\Core\Resource\Folder
- getOriginalFolder ( ) ¶
-
- returntype
-
TYPO3\CMS\Core\Resource\FolderInterface