You are here

public function PriceListRepositoryInterface::loadItems in Commerce Pricelist 8.2

Loads the price list items for the given purchasable entity.

Parameters

\Drupal\commerce\PurchasableEntityInterface $entity: The purchasable entity.

\Drupal\commerce\Context $context: The context.

Return value

\Drupal\commerce_pricelist\Entity\PriceListItemInterface[] The price list items.

1 method overrides PriceListRepositoryInterface::loadItems()
PriceListRepository::loadItems in src/PriceListRepository.php
Loads the price list items for the given purchasable entity.

File

src/PriceListRepositoryInterface.php, line 36

Class

PriceListRepositoryInterface

Namespace

Drupal\commerce_pricelist

Code

public function loadItems(PurchasableEntityInterface $entity, Context $context);