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 AfterFileCopiedEvent ¶
-
- Fully qualified name
- \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 ( ) ¶
-
- Returns
-
\TYPO3\CMS\Core\Resource\FileInterface
- getFolder ( ) ¶
-
- Returns
-
\TYPO3\CMS\Core\Resource\Folder
- getNewFileIdentifier ( ) ¶
-
- Returns
-
string
- getNewFile ( ) ¶
-
- Returns
-
?\TYPO3\CMS\Core\Resource\FileInterface