Event emitted before action execution.
Methods¶
__construct()
¶
BeforeCopyContentEvent.php
:
32
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentInfo | ContentInfo | - | - |
$destinationLocationCreateStruct | LocationCreateStruct | - | - |
$versionInfo | VersionInfo|null | null | - |
getContent()
¶
BeforeCopyContentEvent.php
:
57
|
|
Return values
getContentInfo()
¶
BeforeCopyContentEvent.php
:
42
|
|
Return values
getDestinationLocationCreateStruct()
¶
BeforeCopyContentEvent.php
:
47
|
|
Return values
getVersionInfo()
¶
BeforeCopyContentEvent.php
:
52
|
|
Return values
VersionInfo|null
hasContent()
¶
BeforeCopyContentEvent.php
:
71
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
38
|
|
Return values
bool
setContent()
¶
BeforeCopyContentEvent.php
:
66
|
|
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().