You are here

public static function RouteSubscriber::getSubscribedEvents in Commerce AutoSKU 8.2

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/Routing/RouteSubscriber.php, line 82
Contains \Drupal\commerce_autosku\Routing\RouteSubscriber.

Class

RouteSubscriber
Subscriber for commerce_autosku routes.

Namespace

Drupal\commerce_autosku\Routing

Code

public static function getSubscribedEvents() {
  $events = parent::getSubscribedEvents();
  $events[RoutingEvents::ALTER] = array(
    'onAlterRoutes',
    -100,
  );
  return $events;
}