public function BundleItemInterface::getBundleId in Commerce Product Bundle 8
Gets the parent product bundle ID.
Return value
int The product bundle ID, or null.
1 method overrides BundleItemInterface::getBundleId()
- ProductBundleItem::getBundleId in src/
Entity/ ProductBundleItem.php - Gets the parent product bundle ID.
File
- src/
Entity/ BundleItemInterface.php, line 89
Class
- BundleItemInterface
- Provides an interface for defining product bundle item entities.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function getBundleId();