You are here

constant ProductEvents::PRODUCT_DEFAULT_VARIATION in Commerce Core 8.2

Name of the event fired when getting the default product variation.

Allows modules to get a default variation for a product.

See also

\Drupal\commerce_product\Event\ProductDefaultVariationEvent

File

modules/product/src/Event/ProductEvents.php, line 99

Class

ProductEvents

Namespace

Drupal\commerce_product\Event

Code

const PRODUCT_DEFAULT_VARIATION = 'commerce_product.commerce_product.default_variation';