You are here

public static function OrderMailEventSubscriber::getSubscribedEvents in Commerce Core 8.2

File

modules/log/src/EventSubscriber/OrderMailEventSubscriber.php, line 46

Class

OrderMailEventSubscriber
Reacts to order emails sent via the Commerce mail handler.

Namespace

Drupal\commerce_log\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    CommerceEvents::POST_MAIL_SEND => [
      'onMailSend',
    ],
  ];
}