You are here

public function ProductAttributeValueEvent::__construct in Commerce Core 8.2

Constructs a new ProductAttributeValueEvent.

Parameters

\Drupal\commerce_product\Entity\ProductAttributeValueInterface $attribute_value: The product attribute value.

File

modules/product/src/Event/ProductAttributeValueEvent.php, line 28

Class

ProductAttributeValueEvent
Defines the product attribute value event.

Namespace

Drupal\commerce_product\Event

Code

public function __construct(ProductAttributeValueInterface $attribute_value) {
  $this->attributeValue = $attribute_value;
}