public function BundleItemOrderItem::getOrderItemId in Commerce Product Bundle 8
Gets the parent order item ID.
Return value
int|null The order item ID, or NULL.
Overrides BundleItemOrderItemInterface::getOrderItemId
File
- src/
Entity/ BundleItemOrderItem.php, line 152
Class
- BundleItemOrderItem
- Defines the Bundle Item Order Item entity.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function getOrderItemId() {
return $this
->get('order_item_id')->target_id;
}