You are here

constant CartEvents::ORDER_ITEM_COMPARISON_FIELDS in Commerce Core 8.2

Name of the event fired when altering the list of comparison fields.

Use this event to add additional field names to the list of fields used to determine whether an order item can be combined into an existing order item.

See also

\Drupal\commerce_cart\Event\OrderItemComparisonFieldsEvent

File

modules/cart/src/Event/CartEvents.php, line 76

Class

CartEvents
Defines events for the cart module.

Namespace

Drupal\commerce_cart\Event

Code

const ORDER_ITEM_COMPARISON_FIELDS = 'commerce_cart.order_item.comparison_fields';