You are here

public function BundleItemInterface::hasVariations in Commerce Product Bundle 8

Gets whether the bundle item has restricted variations.

Return value

bool TRUE if the bundle item has restricted available variations, FALSE otherwise.

1 method overrides BundleItemInterface::hasVariations()
ProductBundleItem::hasVariations in src/Entity/ProductBundleItem.php
Gets whether the bundle item has restricted variations.

File

src/Entity/BundleItemInterface.php, line 210

Class

BundleItemInterface
Provides an interface for defining product bundle item entities.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function hasVariations();