static function GeolocateUserSubscriber::getSubscribedEvents in Smart IP 8.2
Same name and namespace in other branches
- 8.4 src/EventSubscriber/GeolocateUserSubscriber.php \Drupal\smart_ip\EventSubscriber\GeolocateUserSubscriber::getSubscribedEvents()
- 8.3 src/EventSubscriber/GeolocateUserSubscriber.php \Drupal\smart_ip\EventSubscriber\GeolocateUserSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ GeolocateUserSubscriber.php, line 48 - Contains \Drupal\smart_ip\EventSubscriber\GeolocateUserSubscriber.
Class
- GeolocateUserSubscriber
- Allows Smart IP to act on HTTP request event.
Namespace
Drupal\smart_ip\EventSubscriberCode
static function getSubscribedEvents() {
$events[KernelEvents::REQUEST][] = array(
'GeolocateUser',
);
return $events;
}