EnrichFileMetaDataEvent¶
The PSR-14 event \TYPO3\CMS\Core\Resource\Event\EnrichFileMetaDataEvent
is called after a record has been loaded from database. It allows other places
to perform the extension of metadata at runtime or, for example, translation
and workspace overlay.
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\EnrichFileMetaDataEvent¶
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.
- getFileUid()¶
- Return type
int
- getMetaDataUid()¶
- Return type
int
- getRecord()¶
- Return type
array
- setRecord(array $record)¶
- Parameters
$record (
array
) -- the record