You are here

public static function Redirect::getSubscribedEvents in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 modules/custom/social_gdpr/src/Subscriber/Redirect.php \Drupal\social_gdpr\Subscriber\Redirect::getSubscribedEvents()
  2. 8.2 modules/custom/social_gdpr/src/Subscriber/Redirect.php \Drupal\social_gdpr\Subscriber\Redirect::getSubscribedEvents()
  3. 8.3 modules/custom/social_gdpr/src/Subscriber/Redirect.php \Drupal\social_gdpr\Subscriber\Redirect::getSubscribedEvents()
  4. 8.4 modules/custom/social_gdpr/src/Subscriber/Redirect.php \Drupal\social_gdpr\Subscriber\Redirect::getSubscribedEvents()
  5. 8.5 modules/custom/social_gdpr/src/Subscriber/Redirect.php \Drupal\social_gdpr\Subscriber\Redirect::getSubscribedEvents()
  6. 8.6 modules/custom/social_gdpr/src/Subscriber/Redirect.php \Drupal\social_gdpr\Subscriber\Redirect::getSubscribedEvents()
  7. 8.8 modules/custom/social_gdpr/src/Subscriber/Redirect.php \Drupal\social_gdpr\Subscriber\Redirect::getSubscribedEvents()
  8. 10.0.x modules/custom/social_gdpr/src/Subscriber/Redirect.php \Drupal\social_gdpr\Subscriber\Redirect::getSubscribedEvents()
  9. 10.1.x modules/custom/social_gdpr/src/Subscriber/Redirect.php \Drupal\social_gdpr\Subscriber\Redirect::getSubscribedEvents()

File

modules/custom/social_gdpr/src/Subscriber/Redirect.php, line 50

Class

Redirect
Class Redirect.

Namespace

Drupal\social_gdpr\Subscriber

Code

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