BeforeFolderAddedEvent

The PSR-14 event \TYPO3\CMS\Core\Resource\Event\BeforeFolderAddedEvent 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.

API

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.

getParentFolder()
Return type

TYPO3\CMS\Core\Resource\Folder

getFolderName()
Return type

string