You are here

public function PriceListItemTypeInterface::getPurchasableEntityTypeId in Commerce Pricelist 8

Gets the price list item type's purchasable entity type ID.

E.g, if price list items of this type are used to purchase product variations, the purchasable entity type ID will be 'commerce_product_variation'.

Return value

string The purchasable entity type ID.

1 method overrides PriceListItemTypeInterface::getPurchasableEntityTypeId()
PriceListItemType::getPurchasableEntityTypeId in src/Entity/PriceListItemType.php
Gets the price list item type's purchasable entity type ID.

File

src/Entity/PriceListItemTypeInterface.php, line 21

Class

PriceListItemTypeInterface
Defines the interface for price list item types.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function getPurchasableEntityTypeId();