‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Resource\Event\AfterFileAddedToIndexEvent Class Reference

Public Member Functions

 __construct (private int $fileUid, private array $record)
 
 getFileUid ()
 
 getRecord ()
 

Detailed Description

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.

Definition at line 25 of file AfterFileAddedToIndexEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Resource\Event\AfterFileAddedToIndexEvent::__construct ( private int  $fileUid,
private array  $record 
)

Definition at line 27 of file AfterFileAddedToIndexEvent.php.

Member Function Documentation

◆ getFileUid()

TYPO3\CMS\Core\Resource\Event\AfterFileAddedToIndexEvent::getFileUid ( )

Definition at line 29 of file AfterFileAddedToIndexEvent.php.

◆ getRecord()

TYPO3\CMS\Core\Resource\Event\AfterFileAddedToIndexEvent::getRecord ( )

Definition at line 34 of file AfterFileAddedToIndexEvent.php.

References TYPO3\CMS\Webhooks\Message\$record.