You are here

public static function RouteSubscriber::getSubscribedEvents in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 modules/custom/social_language/src/Routing/RouteSubscriber.php \Drupal\social_language\Routing\RouteSubscriber::getSubscribedEvents()
  2. 8 modules/custom/social_language/src/Routing/RouteSubscriber.php \Drupal\social_language\Routing\RouteSubscriber::getSubscribedEvents()
  3. 8.2 modules/custom/social_language/src/Routing/RouteSubscriber.php \Drupal\social_language\Routing\RouteSubscriber::getSubscribedEvents()
  4. 8.3 modules/custom/social_language/src/Routing/RouteSubscriber.php \Drupal\social_language\Routing\RouteSubscriber::getSubscribedEvents()
  5. 8.4 modules/custom/social_language/src/Routing/RouteSubscriber.php \Drupal\social_language\Routing\RouteSubscriber::getSubscribedEvents()
  6. 8.5 modules/custom/social_language/src/Routing/RouteSubscriber.php \Drupal\social_language\Routing\RouteSubscriber::getSubscribedEvents()
  7. 8.6 modules/custom/social_language/src/Routing/RouteSubscriber.php \Drupal\social_language\Routing\RouteSubscriber::getSubscribedEvents()
  8. 8.8 modules/custom/social_language/src/Routing/RouteSubscriber.php \Drupal\social_language\Routing\RouteSubscriber::getSubscribedEvents()
  9. 10.3.x modules/custom/social_language/src/Routing/RouteSubscriber.php \Drupal\social_language\Routing\RouteSubscriber::getSubscribedEvents()
  10. 10.0.x modules/custom/social_language/src/Routing/RouteSubscriber.php \Drupal\social_language\Routing\RouteSubscriber::getSubscribedEvents()
  11. 10.1.x modules/custom/social_language/src/Routing/RouteSubscriber.php \Drupal\social_language\Routing\RouteSubscriber::getSubscribedEvents()
  12. 10.2.x modules/custom/social_language/src/Routing/RouteSubscriber.php \Drupal\social_language\Routing\RouteSubscriber::getSubscribedEvents()

Overrides RouteSubscriberBase::getSubscribedEvents

File

modules/custom/social_language/src/Routing/RouteSubscriber.php, line 61

Class

RouteSubscriber
Class RouteSubscriber.

Namespace

Drupal\social_language\Routing

Code

public static function getSubscribedEvents() {

  // Come after content_translation.
  $events[RoutingEvents::ALTER] = [
    'onAlterRoutes',
    -220,
  ];
  return $events;
}