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