function smart_ip_theme in Smart IP 8.4
Same name and namespace in other branches
- 8.2 smart_ip.module \smart_ip_theme()
- 8.3 smart_ip.module \smart_ip_theme()
- 6.2 smart_ip.module \smart_ip_theme()
- 6 smart_ip.module \smart_ip_theme()
- 7.2 smart_ip.module \smart_ip_theme()
- 7 smart_ip.module \smart_ip_theme()
Implements hook_theme().
File
- ./
smart_ip.module, line 115 - Determines country, geo location (longitude/latitude), region, city and postal code of the user, based on IP address
Code
function smart_ip_theme() {
return [
'smart_ip_latitude_dms' => [
'variables' => [
'latitude' => NULL,
],
],
'smart_ip_longitude_dms' => [
'variables' => [
'longitude' => NULL,
],
],
];
}