public function PriceListItemEvent::__construct in Commerce Pricelist 8.2
Constructs a new PriceListItemEvent object.
Parameters
\Drupal\commerce_pricelist\Entity\PriceListItemInterface $price_list_item: The price list item.
File
- src/
Event/ PriceListItemEvent.php, line 28
Class
- PriceListItemEvent
- Defines the price list item event.
Namespace
Drupal\commerce_pricelist\EventCode
public function __construct(PriceListItemInterface $price_list_item) {
$this->priceListItem = $price_list_item;
}