BeforeFileMovedEvent¶
The PSR-14 event \TYPO3\
is fired before a file is about to be moved within a resource
storage /
driver.
The folder represents the "target folder".
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 BeforeFileMovedEvent ¶
-
- Fully qualified name
-
\TYPO3\
CMS\ Core\ Resource\ Event\ Before File Moved Event
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
-
\TYPO3\
CMS\ Core\ Resource\ File Interface
- getFolder ( ) ¶
-
- Returns
-
\TYPO3\
CMS\ Core\ Resource\ Folder
- getTargetFileName ( ) ¶
-
- Returns
-
string