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()¶
- Return type
TYPO3\CMS\Core\Resource\FileInterface
- getFolder()¶
- Return type
TYPO3\CMS\Core\Resource\Folder
- getNewFileIdentifier()¶
- Return type
string
- getNewFile()¶
- Return type
TYPO3\CMS\Core\Resource\FileInterface