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
setContent() ¶
BeforeCreateContentEvent.php
:
67
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$content | Content|null | - | - |