public function PriceList::getItems in Commerce Pricelist 8
Gets the price list's item list.
Return value
\Drupal\commerce_pricelist\Entity\PriceListItemInterface[] The price list items.
Overrides PriceListInterface::getItems
File
- src/
Entity/ PriceList.php, line 193
Class
- PriceList
- Defines the Price list entity.
Namespace
Drupal\commerce_pricelist\EntityCode
public function getItems() {
return $this
->getTranslatedReferencedEntities('field_price_list_item');
}