AfterFileAddedToIndexEvent

final readonly 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.

Table of Contents

Methods

__construct()  : mixed
getFileUid()  : int
getRecord()  : array

Methods

__construct()

public __construct(int $fileUid, array $record) : mixed

Parameters

$fileUid : int
$record : array

getFileUid()

public getFileUid() : int

Return values

int

getRecord()

public getRecord() : array

Return values

array
On this page