You are here

public static function RouteSubscriber::getSubscribedEvents in Salesforce Suite 8.3

Overrides RouteSubscriberBase::getSubscribedEvents

File

modules/salesforce_mapping/src/Routing/RouteSubscriber.php, line 73

Class

RouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\salesforce_mapping\Routing

Code

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