Event emitted before action execution.
Methods¶
__construct()
¶
BeforeUpdateContentEvent.php
:
28
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $versionInfo | VersionInfo | - | - |
| $contentUpdateStruct | ContentUpdateStruct | - | - |
| $fieldIdentifiersToValidate | array<string|int, mixed>|null | null | - |
getContent()
¶
BeforeUpdateContentEvent.php
:
56
|
|
|
Return values
getContentUpdateStruct()
¶
BeforeUpdateContentEvent.php
:
43
|
|
|
Return values
getFieldIdentifiersToValidate()
¶
BeforeUpdateContentEvent.php
:
51
|
|
|
Return values
array<string|int, string>|null
getVersionInfo()
¶
BeforeUpdateContentEvent.php
:
38
|
|
|
Return values
hasContent()
¶
BeforeUpdateContentEvent.php
:
70
|
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
38
|
|
|
Return values
bool
setContent()
¶
BeforeUpdateContentEvent.php
:
65
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $content | Content|null | - | - |
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().