You are here

service smart_ip.smart_ip_location in Smart IP 8.2

Same name and namespace in other branches
  1. 8.4 smart_ip.services.yml \smart_ip.smart_ip_location
  2. 8.3 smart_ip.services.yml \smart_ip.smart_ip_location

Class

Drupal\smart_ip\SmartIpLocation
3 string references to smart_ip.smart_ip_location
GeolocateUserSubscriber::GeolocateUser in src/EventSubscriber/GeolocateUserSubscriber.php
Initiate user geolocation.
SmartIp::updateUserLocation in src/SmartIp.php
Update user's location only if the IP address stored in session is not the same as the IP address detected by the server.
smart_ip_page_attachments in ./smart_ip.module
Implements hook_page_attachments().

File

./smart_ip.services.yml
smart_ip.services.yml

View source
  1. class: Drupal\smart_ip\SmartIpLocation