public static function OrderEventsSubscriber::getSubscribedEvents in Commerce Demo 8
File
- src/
EventSubscriber/ OrderEventsSubscriber.php, line 14
Class
Namespace
Drupal\commerce_demo\EventSubscriberCode
public static function getSubscribedEvents() {
$events[OrderEvents::ORDER_CREATE][] = [
'onOrderCreate',
];
return $events;
}