Copied!

FieldDefinitionMappingEvent

FieldDefinitionMappingEvent.php : 16
Extends Event

Constants

publicNAME

FieldDefinitionMappingEvent.php : 21

Triggered when contentTypeData is created from contentTypeDraft.

public mixed NAME = 'field_definition.mapping'

Methods

public__construct()

FieldDefinitionMappingEvent.php : 32
public __construct(FieldDefinitionData $fieldDefinitionData, Language|null $baseLanguage, Language|null $targetLanguage)

Parameters

Name Type Default value Description
$fieldDefinitionData FieldDefinitionData - -
$baseLanguage Language|null - -
$targetLanguage Language|null - -

publicgetBaseLanguage()

FieldDefinitionMappingEvent.php : 57
public getBaseLanguage() : Language|null

Return values

Language|null

publicgetFieldDefinition()

FieldDefinitionMappingEvent.php : 42
public getFieldDefinition() : FieldDefinition

Return values

FieldDefinition

publicgetFieldDefinitionData()

FieldDefinitionMappingEvent.php : 47
public getFieldDefinitionData() : FieldDefinitionData

Return values

FieldDefinitionData

publicgetTargetLanguage()

FieldDefinitionMappingEvent.php : 62
public getTargetLanguage() : Language|null

Return values

Language|null

publicsetFieldDefinitionData()

FieldDefinitionMappingEvent.php : 52
public setFieldDefinitionData(FieldDefinitionData $fieldDefinitionData) : void

Parameters

Name Type Default value Description
$fieldDefinitionData FieldDefinitionData - -