function device_geolocation_theme in Smart IP 8.3
Same name and namespace in other branches
- 8.4 modules/device_geolocation/device_geolocation.module \device_geolocation_theme()
- 6.2 modules/device_geolocation/device_geolocation.module \device_geolocation_theme()
- 6 modules/device_geolocation/device_geolocation.module \device_geolocation_theme()
- 7.2 modules/device_geolocation/device_geolocation.module \device_geolocation_theme()
- 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' => [],
],
],
];
}