Event emitted before action execution.
Methods¶
__construct()
¶
BeforeUpdateContentEvent.php
:
31
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$versionInfo | VersionInfo | - | - |
$contentUpdateStruct | ContentUpdateStruct | - | - |
$fieldIdentifiersToValidate | array<string|int, mixed>|null | null | - |
getContent()
¶
BeforeUpdateContentEvent.php
:
59
|
|
Return values
getContentUpdateStruct()
¶
BeforeUpdateContentEvent.php
:
46
|
|
Return values
getFieldIdentifiersToValidate()
¶
BeforeUpdateContentEvent.php
:
54
|
|
Return values
array<string|int, string>|null
getVersionInfo()
¶
BeforeUpdateContentEvent.php
:
41
|
|
Return values
hasContent()
¶
BeforeUpdateContentEvent.php
:
73
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
38
|
|
Return values
bool
setContent()
¶
BeforeUpdateContentEvent.php
:
68
|
|
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().