You are here

public static function DefaultVariationSubscriber::getSubscribedEvents in Commerce Core 8.2

File

modules/product/tests/modules/commerce_product_test/src/EventSubscriber/DefaultVariationSubscriber.php, line 14

Class

DefaultVariationSubscriber

Namespace

Drupal\commerce_product_test\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    ProductEvents::PRODUCT_DEFAULT_VARIATION => 'onDefaultVariation',
  ];
}