You are here

static function SecurepagesSubscriber::getSubscribedEvents in Secure Pages 8

File

src/EventSubscriber/SecurepagesSubscriber.php, line 101
Contains \Drupal\securepages\EventSubscriber\SecurepagesSubscriber.

Class

SecurepagesSubscriber

Namespace

Drupal\securepages\EventSubscriber

Code

static function getSubscribedEvents() {
  $events[KernelEvents::REQUEST][] = array(
    'checkRequestRedirection',
  );
  $events[KernelEvents::RESPONSE][] = array(
    'checkResponseRedirection',
  );
  return $events;
}