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
$folder : Folder
$targetParentFolder : Folder
$targetFolderName : string

getTargetFolderName()

public getTargetFolderName() : string
Return values
string

        
On this page

Search results