You are here

public static function IpGeoLocSubscriber::getSubscribedEvents in IP Geolocation Views & Maps 8

File

src/EventSubscriber/IpGeoLocSubscriber.php, line 41

Class

IpGeoLocSubscriber
Subscribe to KernelEvents::REQUEST events and redirect if site is currently in maintenance mode.

Namespace

Drupal\ip_geoloc\EventSubscriber

Code

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