You are here

function smart_ip_theme in Smart IP 8.4

Same name and namespace in other branches
  1. 8.2 smart_ip.module \smart_ip_theme()
  2. 8.3 smart_ip.module \smart_ip_theme()
  3. 6.2 smart_ip.module \smart_ip_theme()
  4. 6 smart_ip.module \smart_ip_theme()
  5. 7.2 smart_ip.module \smart_ip_theme()
  6. 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,
      ],
    ],
  ];
}