Event is the base class for classes containing event data.
This class contains no event data. It is used by events that do not pass state information to an event handler when an event is raised.
You can call the method stopPropagation() to abort the execution of further listeners in your event listener.
Constants¶
NAME ¶
FieldDefinitionMappingEvent.php
:
21
Triggered when contentTypeData is created from contentTypeDraft.
|
|
Methods¶
__construct() ¶
FieldDefinitionMappingEvent.php
:
32
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$fieldDefinitionData | FieldDefinitionData | - | - |
$baseLanguage | Language|null | - | - |
$targetLanguage | Language|null | - | - |
getBaseLanguage() ¶
FieldDefinitionMappingEvent.php
:
57
|
|
Return values
Language|null
getFieldDefinition() ¶
FieldDefinitionMappingEvent.php
:
42
|
|
Return values
getFieldDefinitionData() ¶
FieldDefinitionMappingEvent.php
:
47
|
|
Return values
FieldDefinitionData
getTargetLanguage() ¶
FieldDefinitionMappingEvent.php
:
62
|
|
Return values
Language|null
isPropagationStopped() ¶
Event.php
:
38
|
|
Return values
bool
setFieldDefinitionData() ¶
FieldDefinitionMappingEvent.php
:
52
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$fieldDefinitionData | FieldDefinitionData | - | - |
stopPropagation() ¶
Event.php
:
50
Stops the propagation of the event to further event listeners.
|
|
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().