You are here

public function PriceListInterface::getItemIds in Commerce Pricelist 8.2

Gets the price list item IDs.

No matching getItems() method is provided because there can potentially be thousands of items in a single list, making it too costly to load them all at once.

Return value

int[] The price list item IDs.

1 method overrides PriceListInterface::getItemIds()
PriceList::getItemIds in src/Entity/PriceList.php
Gets the price list item IDs.

File

src/Entity/PriceListInterface.php, line 235

Class

PriceListInterface
Defines the interface for price lists.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function getItemIds();