Event emitted before action execution.
Methods¶
__construct() ¶
BeforePublishVersionEvent.php
:
27
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$versionInfo | VersionInfo | - | - |
$translations | array<string|int, mixed> | - | - |
getContent() ¶
BeforePublishVersionEvent.php
:
43
|
|
Return values
getTranslations() ¶
BeforePublishVersionEvent.php
:
38
|
|
Return values
array<string|int, mixed>
getVersionInfo() ¶
BeforePublishVersionEvent.php
:
33
|
|
Return values
hasContent() ¶
BeforePublishVersionEvent.php
:
57
|
|
Return values
bool
setContent() ¶
BeforePublishVersionEvent.php
:
52
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$content | Content|null | - | - |