BeforeFolderRenamedEvent
FinalYes
This event is fired before a folder is about to be renamed.
Listeners can be used to modify a folder name before it is actually moved or to ensure consistency or specific rules when renaming folders.
Table of Contents
Methods
- __construct() : mixed
- getFolder() : Folder
- getTargetName() : string
Methods
__construct()
public
__construct(Folder $folder, string $targetName) : mixed
Parameters
- $folder : Folder
- $targetName : string
getFolder()
public
getFolder() : Folder
Return values
FoldergetTargetName()
public
getTargetName() : string