AfterFileAddedToIndexEvent

The PSR-14 event \TYPO3\CMS\Core\Resource\Event\AfterFileAddedToIndexEvent 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_file / sys_file_metadata database records.

Example

API

class \TYPO3\CMS\Core\Resource\Event\ AfterFileAddedToIndexEvent

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 ( )
returntype

int

getRecord ( )
returntype

array