AfterFileRenamedEvent

The PSR-14 event \TYPO3\CMS\Core\Resource\Event\AfterFileRenamedEvent is fired after a file was renamed in order to further process a file or filename or update custom references to a file.

Example

Note

Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.

API

class TYPO3\CMS\Core\Resource\Event\AfterFileRenamedEvent

This event is fired after a file was renamed in order to further process a file or filename or update custom references to a file.

getFile()
Return type

TYPO3\CMS\Core\Resource\FileInterface

getTargetFileName()
Return type

string