BeforeFileRenamedEvent¶
This event is fired before a file is about to be renamed. Custom listeners can further rename the file according to specific guidelines based on the project.
API¶
-
class
TYPO3\CMS\Core\Resource\Event\
BeforeFileRenamedEvent
¶ This event is fired before a file is about to be renamed. Custom listeners can further rename the file according to specific guidelines based on the project.
-
getFile
()¶ Return type: TYPO3\CMS\Core\Resource\FileInterface
-
getTargetFileName
()¶ Return type: string
-