public static function RoutingAlterSubscriber::getSubscribedEvents in Commerce Cart API 8
File
- src/
EventSubscriber/ RoutingAlterSubscriber.php, line 34
Class
- RoutingAlterSubscriber
- Removes CSRF header requirements from our routes.
Namespace
Drupal\commerce_cart_api\EventSubscriberCode
public static function getSubscribedEvents() {
$events[RoutingEvents::ALTER][] = [
'onRoutingRouteAlter',
-100,
];
return $events;
}