function smart_ip_views_bridge_views_api in Smart IP 6.2
Same name and namespace in other branches
- 6 modules/smart_ip_views_bridge/smart_ip_views_bridge.module \smart_ip_views_bridge_views_api()
- 7.2 modules/smart_ip_views_bridge/smart_ip_views_bridge.module \smart_ip_views_bridge_views_api()
Implements hook_views_api(). Views Integration Hook
File
- modules/
smart_ip_views_bridge/ smart_ip_views_bridge.module, line 151 - Smart IP Views Bridge exposes Smart IP visitor's location details to Views field (coordinates, country, ISO 3166 2-character country code, region, region code (FIPS), city and zip) and filter (country, ISO 3166 2-character country code,…
Code
function smart_ip_views_bridge_views_api() {
return array(
'api' => 2.0,
'path' => drupal_get_path('module', 'smart_ip_views_bridge') . '/views',
);
}