You are here

service smart_ip.smart_ip_location in Smart IP 8.4

Same name and namespace in other branches
  1. 8.2 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
6 string references to smart_ip.smart_ip_location
DeviceGeolocationController::check in modules/device_geolocation/src/Controller/DeviceGeolocationController.php
Check for Geolocation attempt.
device_geolocation_page_attachments in modules/device_geolocation/device_geolocation.module
Implements hook_page_attachments().
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 or debug mode IP.
smart_ip_page_attachments in ./smart_ip.module
Implements hook_page_attachments().
UserCountry::evaluate in src/Plugin/Condition/UserCountry.php
Evaluates the condition and returns TRUE or FALSE accordingly.

... See full list

File

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

View source
  1. class: Drupal\smart_ip\SmartIpLocation