AfterFolderCopiedEvent

The PSR-14 event \TYPO3\CMS\Core\Resource\Event\AfterFolderCopiedEvent is fired after a folder was copied to the resource storage / driver.

Example: Custom listeners can analyze contents of a file or add custom permissions to a folder automatically.

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\AfterFolderCopiedEvent

This event is fired after a folder was copied to the Resource Storage / Driver.

Example: Custom listeners can analyze contents of a file or add custom permissions to a folder automatically.

getFolder()
Return type

TYPO3\CMS\Core\Resource\Folder

getTargetParentFolder()
Return type

TYPO3\CMS\Core\Resource\Folder

getTargetFolder()
Return type

TYPO3\CMS\Core\Resource\FolderInterface