BeforeFileRenamedEvent

final readonly 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.

Table of Contents

Methods

__construct()  : mixed
getFile()  : FileInterface
getTargetFileName()  : string|null

Methods

getTargetFileName()

public getTargetFileName() : string|null

Return values

string|null
On this page