You are here

public function ProductBundleItem::getMaximumQuantity in Commerce Product Bundle 8

@inheritdoc

Overrides BundleItemInterface::getMaximumQuantity

File

src/Entity/ProductBundleItem.php, line 497

Class

ProductBundleItem
Defines the product bundle item entity.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function getMaximumQuantity() {
  return $this
    ->get('max_quantity')->value;
}