* @since 4.2.0 */ class IndexKeywordsEvent extends CancelableEvent { /** * @var ElementInterface The element being indexed */ public ElementInterface $element; /** * @var string|null The attribute name being indexed, or `null` if this is for a custom field */ public ?string $attribute = null; /** * @var int|null The field ID being indexed, or `null` if this is for an attribute */ public ?int $fieldId = null; /** * @var string Space-separated list of keywords to be indexed */ public string $keywords; }