public function BundleItemOrderItem::getBundleItem in Commerce Product Bundle 8
Gets the Bundle Item.
Return value
\Drupal\commerce_product_bundle\Entity\BundleItemInterface|null The bundle item, or NULL.
Overrides BundleItemOrderItemInterface::getBundleItem
File
- src/
Entity/ BundleItemOrderItem.php, line 67
Class
- BundleItemOrderItem
- Defines the Bundle Item Order Item entity.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function getBundleItem() {
return $this
->get('bundle_item')->entity;
}