public function BundleTypeInterface::getOrderItemTypeId in Commerce Product Bundle 8
Gets the product bundle type's order item type ID.
Used for finding/creating the appropriate order item when purchasing a product bundle (adding it to an order).
Return value
string The order item type ID.
1 method overrides BundleTypeInterface::getOrderItemTypeId()
- ProductBundleType::getOrderItemTypeId in src/
Entity/ ProductBundleType.php - Gets the product bundle type's order item type ID.
File
- src/
Entity/ BundleTypeInterface.php, line 40
Class
- BundleTypeInterface
- Provides an interface for defining product bundle type entities.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function getOrderItemTypeId();