You are here

public static function OrderPlacedSubscriber::getSubscribedEvents in Commerce Invoice 8.2

File

src/EventSubscriber/OrderPlacedSubscriber.php, line 32

Class

OrderPlacedSubscriber

Namespace

Drupal\commerce_invoice\EventSubscriber

Code

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