AfterFileAddedToIndexEvent¶
The PSR-14 event
\TYPO3\
is fired once an index was just added to the database (= indexed).
Example: Using listeners for this event allows to additionally populate custom
fields of the sys_
/ sys_
database records.
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 AfterFileAddedToIndexEvent ¶
-
- Fully qualified name
-
\TYPO3\
CMS\ Core\ Resource\ Event\ After File Added To Index Event
This event is fired once an index was just added to the database (= indexed).
Examples: Allows to additionally populate custom fields of the sys_file/sys_file_metadata database records.
- getFileUid ( ) ¶
-
- Returns
-
int
- getRecord ( ) ¶
-
- Returns
-
array