Event emitted before action execution.
Methods¶
__construct()
¶
BeforeCreateContentEvent.php
:
30
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentCreateStruct | ContentCreateStruct | - | - |
$locationCreateStructs | array<string|int, mixed> | - | - |
$fieldIdentifiersToValidate | array<string|int, mixed>|null | null | - |
getContent()
¶
BeforeCreateContentEvent.php
:
58
|
|
Return values
getContentCreateStruct()
¶
BeforeCreateContentEvent.php
:
40
|
|
Return values
getFieldIdentifiersToValidate()
¶
BeforeCreateContentEvent.php
:
53
|
|
Return values
array<string|int, string>|null
getLocationCreateStructs()
¶
BeforeCreateContentEvent.php
:
45
|
|
Return values
array<string|int, mixed>
hasContent()
¶
BeforeCreateContentEvent.php
:
72
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
38
|
|
Return values
bool
setContent()
¶
BeforeCreateContentEvent.php
:
67
|
|
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().