You are here

public static function OrderEventsSubscriber::getSubscribedEvents in Commerce Demo 8

File

src/EventSubscriber/OrderEventsSubscriber.php, line 14

Class

OrderEventsSubscriber

Namespace

Drupal\commerce_demo\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[OrderEvents::ORDER_CREATE][] = [
    'onOrderCreate',
  ];
  return $events;
}