AfterFileCopiedEvent¶
The PSR-14 event
\TYPO3\CMS\Core\Resource\Event\AfterFileCopiedEvent
is fired after a file was copied within a resource
storage /
driver.
The folder represents the "target folder".
Example: Listeners can sign up for listing duplicates using this event.
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\ AfterFileCopiedEvent¶
-
This event is fired after a file was copied within a Resource Storage / Driver.
The folder represents the "target folder".
Example: Listeners can sign up for listing duplicates using this event.
- getFile ( ) ¶
-
- returntype
-
TYPO3\CMS\Core\Resource\FileInterface
- getFolder ( ) ¶
-
- returntype
-
TYPO3\CMS\Core\Resource\Folder
- getNewFileIdentifier ( ) ¶
-
- returntype
-
string
- getNewFile ( ) ¶
-
- returntype
-
TYPO3\CMS\Core\Resource\FileInterface