‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Resource\Event\EnrichFileMetaDataEvent Class Reference

Public Member Functions

 __construct (private readonly int $fileUid, private readonly int $metaDataUid, private array $record)
 getFileUid ()
 getMetaDataUid ()
 getRecord ()
 setRecord (array $record)

Detailed Description

Event that is called after a record has been loaded from database Allows other places to do extension of metadata at runtime or for example translation and workspace overlay.

Definition at line 25 of file EnrichFileMetaDataEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Resource\Event\EnrichFileMetaDataEvent::__construct ( private readonly int  $fileUid,
private readonly int  $metaDataUid,
private array  $record 

Definition at line 27 of file EnrichFileMetaDataEvent.php.

Member Function Documentation

◆ getFileUid()

TYPO3\CMS\Core\Resource\Event\EnrichFileMetaDataEvent::getFileUid ( )

Definition at line 29 of file EnrichFileMetaDataEvent.php.

◆ getMetaDataUid()

TYPO3\CMS\Core\Resource\Event\EnrichFileMetaDataEvent::getMetaDataUid ( )

Definition at line 34 of file EnrichFileMetaDataEvent.php.

◆ getRecord()

TYPO3\CMS\Core\Resource\Event\EnrichFileMetaDataEvent::getRecord ( )

◆ setRecord()

TYPO3\CMS\Core\Resource\Event\EnrichFileMetaDataEvent::setRecord ( array  $record)