public function BundleItemInterface::getProductId in Commerce Product Bundle 8
Gets the bundle item's product id.
Return value
string|int The bundle item's product id.
1 method overrides BundleItemInterface::getProductId()
- ProductBundleItem::getProductId in src/
Entity/ ProductBundleItem.php - Gets the bundle item's product id.
File
- src/
Entity/ BundleItemInterface.php, line 171
Class
- BundleItemInterface
- Provides an interface for defining product bundle item entities.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function getProductId();