public function PriceListItem::getQuantity in Commerce Pricelist 8
Same name and namespace in other branches
- 8.2 src/Entity/PriceListItem.php \Drupal\commerce_pricelist\Entity\PriceListItem::getQuantity()
Gets the price list item quantity.
Return value
string Quantity of the price list item.
Overrides PriceListItemInterface::getQuantity
File
- src/
Entity/ PriceListItem.php, line 105
Class
- PriceListItem
- Defines the price list item entity.
Namespace
Drupal\commerce_pricelist\EntityCode
public function getQuantity() {
return $this
->get('quantity')->value;
}