Skip to main content
Version: v12.6

Events

Event Pre-Update-Attribute-Value​

NameValue
EventTwocream\ProductAttributeBundle\Event\TwocreamProductAttributeEvents::PRE_UPDATE_ATTRIBUTE_VALUE
ClassTwocream\ProductAttributeBundle\Event\UpdateAttributeValueEvent
Propertiesarray $attributeValueData,
?Pimcore\Model\DataObject $attributeValue,
Pimcore\Model\DataObject $attribute
TriggerThe event is triggered before setting the attribute value data and provides the opportunity to overwrite it
More DetailsSee Overwriting attribute values

Event Evaluate-Attribute-Value​

NameValue
EventTwocream\ProductAttributeBundle\Event\TwocreamProductAttributeEvents::EVALUATE_ATTRIBUTE_VALUE
ClassTwocream\ProductAttributeBundle\Event\UpdateAttributeValueEvent
Propertiesarray $attributeValueData,
?Pimcore\Model\DataObject $attributeValue,
Pimcore\Model\DataObject $attribute
TriggerThe event is triggered after the attribute value data was set and provides the opportunity to update the attribute value externally. If a field was changed, this must be marked with markAsDirty() so that the attribute value is saved