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