You are here

function device_geolocation_theme in Smart IP 6.2

Same name and namespace in other branches
  1. 8.4 modules/device_geolocation/device_geolocation.module \device_geolocation_theme()
  2. 8.3 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 106
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 array(
    'device_geolocation_visitor_info' => array(
      'arguments' => array(
        'location' => array(),
      ),
      'template' => 'device-geolocation-visitor-info',
      'path' => drupal_get_path('module', 'device_geolocation') . '/theme',
    ),
  );
}