public function CartEntityAddEvent::getQuantity in Commerce Core 8.2
Gets the quantity.
Return value
float The quantity.
File
- modules/
cart/ src/ Event/ CartEntityAddEvent.php, line 90
Class
- CartEntityAddEvent
- Defines the cart entity add event.
Namespace
Drupal\commerce_cart\EventCode
public function getQuantity() {
return $this->quantity;
}