You are here

public static function SecureLoginResponseSubscriber::getSubscribedEvents in Secure Login 8

File

src/SecureLoginResponseSubscriber.php, line 112

Class

SecureLoginResponseSubscriber
Listens for login to the 403 page and redirects to destination.

Namespace

Drupal\securelogin

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::RESPONSE][] = [
    'onRespond',
    2,
  ];
  return $events;
}