function device_geolocation_block_info in Smart IP 7
Same name and namespace in other branches
- 7.2 modules/device_geolocation/device_geolocation.module \device_geolocation_block_info()
Implements hook_block_info().
File
- modules/
device_geolocation/ device_geolocation.module, line 36 - Provides visitor's geographical location using client device location source that implements W3C Geolocation API and Google Geocoding service.
Code
function device_geolocation_block_info() {
$blocks['visitor_geolocation'] = array(
'info' => t("Visitor's geolocation"),
);
return $blocks;
}