You are here

public function PriceListItemInterface::setPriceList in Commerce Pricelist 8

Sets the parent price list.

Parameters

\Drupal\commerce_pricelist\Entity\PriceListInterface $price_list: The price list entity.

Return value

$this

1 method overrides PriceListItemInterface::setPriceList()
PriceListItem::setPriceList in src/Entity/PriceListItem.php
Sets the parent price list.

File

src/Entity/PriceListItemInterface.php, line 89

Class

PriceListItemInterface
Defines the interface for price list items.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function setPriceList(PriceListInterface $price_list);