You are here

public static function RouteSubscriber::getSubscribedEvents in RedHen CRM 8

Overrides RouteSubscriberBase::getSubscribedEvents

File

modules/redhen_connection/src/Routing/RouteSubscriber.php, line 66

Class

RouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\redhen_connection\Routing

Code

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