Event emitted before action execution.
Methods¶
__construct()
¶
BeforeCreateObjectStateEvent.php
:
25
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $objectStateGroup | ObjectStateGroup | - | - |
| $objectStateCreateStruct | ObjectStateCreateStruct | - | - |
getObjectState()
¶
BeforeCreateObjectStateEvent.php
:
41
|
|
|
Return values
getObjectStateCreateStruct()
¶
BeforeCreateObjectStateEvent.php
:
36
|
|
|
Return values
getObjectStateGroup()
¶
BeforeCreateObjectStateEvent.php
:
31
|
|
|
Return values
hasObjectState()
¶
BeforeCreateObjectStateEvent.php
:
55
|
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
38
|
|
|
Return values
bool
setObjectState()
¶
BeforeCreateObjectStateEvent.php
:
50
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $objectState | ObjectState|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().