You are here

public function BundleInterface::removeBundleItem in Commerce Product Bundle 8

Removes a bundle item.

Parameters

\Drupal\commerce_product_bundle\Entity\BundleItemInterface $bundle_item: The bundle item to remove.

Return value

$this

1 method overrides BundleInterface::removeBundleItem()
ProductBundle::removeBundleItem in src/Entity/ProductBundle.php
Removes a bundle item.

File

src/Entity/BundleInterface.php, line 132

Class

BundleInterface
Provides an interface for defining product bundle entities.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function removeBundleItem(BundleItemInterface $bundle_item);