Event emitted before action execution.
Methods¶
__construct()
¶
BeforeUpdateProductVariantEvent.php
:
24
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$productVariant | ProductVariantInterface | - | - |
$updateStruct | ProductVariantUpdateStruct | - | - |
getProductVariant()
¶
BeforeUpdateProductVariantEvent.php
:
30
|
|
Return values
getResultProductVariant()
¶
BeforeUpdateProductVariantEvent.php
:
40
|
|
Return values
getUpdateStruct()
¶
BeforeUpdateProductVariantEvent.php
:
35
|
|
Return values
hasResultProductVariant()
¶
BeforeUpdateProductVariantEvent.php
:
52
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
38
|
|
Return values
bool
setResultProductVariant()
¶
BeforeUpdateProductVariantEvent.php
:
57
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$resultProductVariant | ProductVariantInterface|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().