BeforeFolderMovedEvent
Read onlyYes
FinalYes
This event is fired before a folder is about to be moved to the Resource Storage / Driver.
Listeners can be used to modify a folder name before it is actually moved or to ensure consistency or specific rules when moving folders.
Table of Contents
Methods
- __construct() : mixed
- getFolder() : Folder
- getTargetFolderName() : string
- getTargetParentFolder() : Folder
Methods
__construct()
public
__construct(Folder $folder, Folder $targetParentFolder, string $targetFolderName) : mixed
Parameters
getFolder()
public
getFolder() : Folder
Return values
FoldergetTargetFolderName()
public
getTargetFolderName() : string
Return values
stringgetTargetParentFolder()
public
getTargetParentFolder() : Folder