BeforeFolderAddedEvent

final class \TYPO3\CMS\Core\Resource\Event\BeforeFolderAddedEvent

This event is fired before a folder is about to be added to the Resource Storage / Driver.

This allows to further specify folder names according to regulations for a specific project.

Table of Contents

Methods

__construct()  : mixed
getFolderName()  : string
getParentFolder()  : Folder

Methods

__construct()

public __construct(Folder $parentFolder, string $folderName) : mixed

Parameters

$parentFolder : Folder
$folderName : string

getFolderName()

public getFolderName() : string

Return values

string
On this page