Copied!

BeforeCreateAttributeGroupEvent

BeforeCreateAttributeGroupEvent.php : 16
Final
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCreateAttributeGroupEvent.php : 22
public __construct(AttributeGroupCreateStruct $createStruct)

Parameters

Name Type Default value Description
$createStruct AttributeGroupCreateStruct - -

publicgetCreateStruct()

BeforeCreateAttributeGroupEvent.php : 27
public getCreateStruct() : AttributeGroupCreateStruct

Return values

AttributeGroupCreateStruct

publicgetResultAttributeGroup()

BeforeCreateAttributeGroupEvent.php : 32
public getResultAttributeGroup() : AttributeGroupInterface

Return values

AttributeGroupInterface

publichasResultAttributeGroup()

BeforeCreateAttributeGroupEvent.php : 44
public hasResultAttributeGroup() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetResultAttributeGroup()

BeforeCreateAttributeGroupEvent.php : 49
public setResultAttributeGroup(AttributeGroupInterface|null $resultAttributeGroup) : void

Parameters

Name Type Default value Description
$resultAttributeGroup AttributeGroupInterface|null - -

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().