EnrichFileMetaDataEvent¶
The PSR-14 event \TYPO3\
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 EnrichFileMetaDataEvent ¶
-
- Fully qualified name
-
\TYPO3\
CMS\ Core\ Resource\ Event\ Enrich File Meta Data Event
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 ( ) ¶
-
- Returns
-
int
- getMetaDataUid ( ) ¶
-
- Returns
-
int
- getRecord ( ) ¶
-
- Returns
-
array
- setRecord ( array $record) ¶
-
- param $record
-
the record