You are here

function device_geolocation_theme in Smart IP 8.3

Same name and namespace in other branches
  1. 8.4 modules/device_geolocation/device_geolocation.module \device_geolocation_theme()
  2. 6.2 modules/device_geolocation/device_geolocation.module \device_geolocation_theme()
  3. 6 modules/device_geolocation/device_geolocation.module \device_geolocation_theme()
  4. 7.2 modules/device_geolocation/device_geolocation.module \device_geolocation_theme()
  5. 7 modules/device_geolocation/device_geolocation.module \device_geolocation_theme()

Implements hook_theme().

File

modules/device_geolocation/device_geolocation.module, line 38
Provides visitor's geographical location using client device location source that implements W3C Geolocation API and Google Geocoding service.

Code

function device_geolocation_theme() {
  return [
    'device_geolocation_visitor_info' => [
      'variables' => [
        'location' => [],
      ],
    ],
  ];
}