public static function HttpsWwwRedirectSubscriber::getSubscribedEvents in HTTPS and WWW Redirect 8
Same name and namespace in other branches
- 2.x src/EventSubscriber/HttpsWwwRedirectSubscriber.php \Drupal\httpswww\EventSubscriber\HttpsWwwRedirectSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ HttpsWwwRedirectSubscriber.php, line 110
Class
- HttpsWwwRedirectSubscriber
- Class HttpsWwwRedirectSubscriber.
Namespace
Drupal\httpswww\EventSubscriberCode
public static function getSubscribedEvents() {
// Set this to run as early as possible, but after the user authentication.
$events[KernelEvents::REQUEST][] = [
'redirect',
299,
];
return $events;
}