You are here

public static function CurrencyOrderRefresh::getSubscribedEvents in Commerce Currency Resolver 8

File

src/EventSubscriber/CurrencyOrderRefresh.php, line 55

Class

CurrencyOrderRefresh
Checking for mismatch in currencies on order.

Namespace

Drupal\commerce_currency_resolver\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events = [
    'commerce_order.commerce_order.load' => 'checkCurrency',
  ];
  return $events;
}