You are here

public function ProductBundleItem::getMinimumQuantity in Commerce Product Bundle 8

@inheritdoc

Overrides BundleItemInterface::getMinimumQuantity

1 call to ProductBundleItem::getMinimumQuantity()
ProductBundleItem::getQuantity in src/Entity/ProductBundleItem.php
Gets the bundle item quantity.

File

src/Entity/ProductBundleItem.php, line 490

Class

ProductBundleItem
Defines the product bundle item entity.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function getMinimumQuantity() {
  return $this
    ->get('min_quantity')->value;
}