constant CartEvents::CART_ORDER_ITEM_ADD in Commerce Core 8.2
Name of the event fired after adding an order item to the cart.
Fired before the cart order is saved.
See also
\Drupal\commerce_cart\Event\CartOrderItemAddEvent
File
- modules/
cart/ src/ Event/ CartEvents.php, line 41
Class
- CartEvents
- Defines events for the cart module.
Namespace
Drupal\commerce_cart\EventCode
const CART_ORDER_ITEM_ADD = 'commerce_cart.order_item.add';