Event emitted before action execution.
Methods¶
__construct()
¶
BeforeAddRelationEvent.php
:
28
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$sourceVersion | VersionInfo | - | - |
$destinationContent | ContentInfo | - | - |
getDestinationContent()
¶
BeforeAddRelationEvent.php
:
39
|
|
Return values
getRelation()
¶
BeforeAddRelationEvent.php
:
44
|
|
Return values
getSourceVersion()
¶
BeforeAddRelationEvent.php
:
34
|
|
Return values
hasRelation()
¶
BeforeAddRelationEvent.php
:
58
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
38
|
|
Return values
bool
setRelation()
¶
BeforeAddRelationEvent.php
:
53
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$relation | Relation|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().