public function BundleItemInterface::removeVariation in Commerce Product Bundle 8
Removes a variation.
Parameters
\Drupal\commerce_product\Entity\ProductVariationInterface $variation: The variation.
Return value
$this
1 method overrides BundleItemInterface::removeVariation()
- ProductBundleItem::removeVariation in src/
Entity/ ProductBundleItem.php - Removes a variation.
File
- src/
Entity/ BundleItemInterface.php, line 276
Class
- BundleItemInterface
- Provides an interface for defining product bundle item entities.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function removeVariation(ProductVariationInterface $variation);