You are here

public static function FilterConditionsEventSubscriber::getSubscribedEvents in Commerce Core 8.2

Same name in this branch
  1. 8.2 modules/payment/src/EventSubscriber/FilterConditionsEventSubscriber.php \Drupal\commerce_payment\EventSubscriber\FilterConditionsEventSubscriber::getSubscribedEvents()
  2. 8.2 modules/promotion/src/EventSubscriber/FilterConditionsEventSubscriber.php \Drupal\commerce_promotion\EventSubscriber\FilterConditionsEventSubscriber::getSubscribedEvents()

File

modules/promotion/src/EventSubscriber/FilterConditionsEventSubscriber.php, line 13

Class

FilterConditionsEventSubscriber

Namespace

Drupal\commerce_promotion\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events = [
    'commerce.filter_conditions' => 'onFilterConditions',
  ];
  return $events;
}