public function ProductBundleItem::setMinimumQuantity in Commerce Product Bundle 8
@inheritdoc
Overrides BundleItemInterface::setMinimumQuantity
File
- src/
Entity/ ProductBundleItem.php, line 252
Class
- ProductBundleItem
- Defines the product bundle item entity.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function setMinimumQuantity($minimum_quantity) {
$this
->set('min_quantity', (double) $minimum_quantity);
return $this;
}