Copied!

ResolveMissingFieldEvent

ResolveMissingFieldEvent.php : 16
Extends Event

Methods

public__construct()

ResolveMissingFieldEvent.php : 32
public __construct(Content $content, FieldDefinition $fieldDefinition, string $languageCode[, array<string|int, mixed> $context = [] ])

Parameters

Name Type Default value Description
$content Content - -
$fieldDefinition FieldDefinition - -
$languageCode string - -
$context array<string|int, mixed> [] -

publicgetContent()

ResolveMissingFieldEvent.php : 45
public getContent() : Content

Return values

Content

publicgetContext()

ResolveMissingFieldEvent.php : 63
public getContext() : array<string|int, mixed>

Return values

array<string|int, mixed>

publicgetField()

ResolveMissingFieldEvent.php : 73
public getField() : Field|null

Return values

Field|null

publicgetFieldDefinition()

ResolveMissingFieldEvent.php : 50
public getFieldDefinition() : FieldDefinition

Return values

FieldDefinition

publicgetLanguageCode()

ResolveMissingFieldEvent.php : 55
public getLanguageCode() : string

Return values

string

publicsetField()

ResolveMissingFieldEvent.php : 68
public setField(Field|null $field) : void

Parameters

Name Type Default value Description
$field Field|null - -