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

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