public function BundleItemInterface::setMinimumQuantity in Commerce Product Bundle 8
Sets the minimum quantity of the product variations.
Parameters
float $minimum_quantity: The minimum quantity.
Return value
\Drupal\commerce_product_bundle\Entity\BundleItemInterface The called product bundle item entity.
1 method overrides BundleItemInterface::setMinimumQuantity()
- ProductBundleItem::setMinimumQuantity in src/
Entity/ ProductBundleItem.php - @inheritdoc
File
- src/
Entity/ BundleItemInterface.php, line 119
Class
- BundleItemInterface
- Provides an interface for defining product bundle item entities.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function setMinimumQuantity($minimum_quantity);