Copied!

UpdateAttributeDefinitionEvent

UpdateAttributeDefinitionEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

UpdateAttributeDefinitionEvent.php : 21
public __construct(AttributeDefinitionInterface $attributeDefinition, AttributeDefinitionUpdateStruct $updateStruct)

Parameters

Name Type Default value Description
$attributeDefinition AttributeDefinitionInterface - -
$updateStruct AttributeDefinitionUpdateStruct - -

publicgetAttributeDefinition()

UpdateAttributeDefinitionEvent.php : 29
public getAttributeDefinition() : AttributeDefinitionInterface

Return values

AttributeDefinitionInterface

publicgetUpdateStruct()

UpdateAttributeDefinitionEvent.php : 34
public getUpdateStruct() : AttributeDefinitionUpdateStruct

Return values

AttributeDefinitionUpdateStruct

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

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().