You are here

public function BundleItemInterface::getBundle in Commerce Product Bundle 8

Gets the parent bundle entity.

Return value

\Drupal\commerce_product_bundle\Entity\BundleInterface The product bundle entity, or null.

1 method overrides BundleItemInterface::getBundle()
ProductBundleItem::getBundle in src/Entity/ProductBundleItem.php
Gets the parent bundle entity.

File

src/Entity/BundleItemInterface.php, line 81

Class

BundleItemInterface
Provides an interface for defining product bundle item entities.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function getBundle();