You are here

public static function OrderEventSubscriber::getSubscribedEvents in Mailchimp E-Commerce 8

File

modules/mailchimp_ecommerce_commerce/src/EventSubscriber/OrderEventSubscriber.php, line 150

Class

OrderEventSubscriber
Event Subscriber for Commerce Orders.

Namespace

Drupal\mailchimp_ecommerce_commerce\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[OrderEvents::ORDER_UPDATE][] = [
    'orderUpdate',
  ];
  $events[OrderEvents::ORDER_ASSIGN][] = [
    'orderAssign',
  ];
  return $events;
}