BeforeFolderMovedEvent

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

Example

API

class BeforeFolderMovedEvent
Fully qualified name
\TYPO3\CMS\Core\Resource\Event\BeforeFolderMovedEvent

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.

getFolder ( )
Returns
\TYPO3\CMS\Core\Resource\Folder
getTargetParentFolder ( )
Returns
\TYPO3\CMS\Core\Resource\Folder
getTargetFolderName ( )
Returns
string