public static function HttpsWwwRedirectSubscriber::getSubscribedEvents in HTTPS and WWW Redirect 2.x
Same name and namespace in other branches
- 8 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;
}