You are here

public static function IPRangesEventSubscriber::getSubscribedEvents in IP Ranges 8

File

lib/Drupal/ip_ranges/EventSubscriber/IPRangesEventSubscriber.php, line 31

Class

IPRangesEventSubscriber

Namespace

Drupal\ip_ranges\EventSubscriber

Code

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