public function OrderItemTypeInterface::getPurchasableEntityTypeId in Commerce Core 8.2
Gets the order item type's purchasable entity type ID.
E.g, if order 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 OrderItemTypeInterface::getPurchasableEntityTypeId()
- OrderItemType::getPurchasableEntityTypeId in modules/
order/ src/ Entity/ OrderItemType.php - Gets the order item type's purchasable entity type ID.
File
- modules/
order/ src/ Entity/ OrderItemTypeInterface.php, line 21
Class
- OrderItemTypeInterface
- Defines the interface for order item types.
Namespace
Drupal\commerce_order\EntityCode
public function getPurchasableEntityTypeId();