Event emitted before action execution.
Methods¶
__construct()
¶
BeforeRecoverEvent.php
:
24
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$trashItem | TrashItem | - | - |
$newParentLocation | Location|null | null | - |
getLocation()
¶
BeforeRecoverEvent.php
:
40
|
|
Return values
getNewParentLocation()
¶
BeforeRecoverEvent.php
:
35
|
|
Return values
Location|null
getTrashItem()
¶
BeforeRecoverEvent.php
:
30
|
|
Return values
hasLocation()
¶
BeforeRecoverEvent.php
:
54
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
38
|
|
Return values
bool
setLocation()
¶
BeforeRecoverEvent.php
:
49
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$location | Location|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().