You are here

public static function RedirectSubscriber::getSubscribedEvents in Open Social 10.0.x

Same name in this branch
  1. 10.0.x modules/social_features/social_search/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_search\EventSubscriber\RedirectSubscriber::getSubscribedEvents()
  2. 10.0.x modules/social_features/social_group/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_group\EventSubscriber\RedirectSubscriber::getSubscribedEvents()
  3. 10.0.x modules/social_features/social_user/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_user\EventSubscriber\RedirectSubscriber::getSubscribedEvents()
  4. 10.0.x modules/social_features/social_group/modules/social_group_quickjoin/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_group_quickjoin\EventSubscriber\RedirectSubscriber::getSubscribedEvents()
  5. 10.0.x modules/social_features/social_group/modules/social_group_default_route/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_group_default_route\EventSubscriber\RedirectSubscriber::getSubscribedEvents()
  6. 10.0.x modules/social_features/social_group/modules/social_group_flexible_group/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_group_flexible_group\EventSubscriber\RedirectSubscriber::getSubscribedEvents()
Same name and namespace in other branches
  1. 8.9 modules/social_features/social_search/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_search\EventSubscriber\RedirectSubscriber::getSubscribedEvents()
  2. 8.6 modules/social_features/social_search/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_search\EventSubscriber\RedirectSubscriber::getSubscribedEvents()
  3. 8.7 modules/social_features/social_search/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_search\EventSubscriber\RedirectSubscriber::getSubscribedEvents()
  4. 8.8 modules/social_features/social_search/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_search\EventSubscriber\RedirectSubscriber::getSubscribedEvents()
  5. 10.3.x modules/social_features/social_search/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_search\EventSubscriber\RedirectSubscriber::getSubscribedEvents()
  6. 10.1.x modules/social_features/social_search/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_search\EventSubscriber\RedirectSubscriber::getSubscribedEvents()
  7. 10.2.x modules/social_features/social_search/src/EventSubscriber/RedirectSubscriber.php \Drupal\social_search\EventSubscriber\RedirectSubscriber::getSubscribedEvents()

Get the request events.

Return value

mixed Returns request events.

File

modules/social_features/social_search/src/EventSubscriber/RedirectSubscriber.php, line 79

Class

RedirectSubscriber
Class RedirectSubscriber.

Namespace

Drupal\social_search\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::REQUEST][] = [
    'redirectSearchWithPrefilledExposedFilters',
  ];
  return $events;
}