You are here

public function BundleInterface::hasBundleItems in Commerce Product Bundle 8

Checks whether the bundle has any bundle items.

Return value

bool True if the bundle has any bundle items, false other wise.

1 method overrides BundleInterface::hasBundleItems()
ProductBundle::hasBundleItems in src/Entity/ProductBundle.php
Checks whether the bundle has any bundle items.

File

src/Entity/BundleInterface.php, line 140

Class

BundleInterface
Provides an interface for defining product bundle entities.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function hasBundleItems();