AfterFolderRenamedEvent

This event is fired after a folder was renamed. Examples: Add custom processing of folders or adjust permissions.

This event is also used by TYPO3 itself to synchronize folder relations in records (for example in sys_filemounts) after renaming of folders.

API

getFolder()

| ReturnType: \TYPO3\CMS\Core\Resource\Folder |

Returns the renamed folder object.

getSourceFolder()

| ReturnType: \TYPO3\CMS\Core\Resource\Folder |

Returns the original folder object.