You are here

function ip_geoloc_views_api in IP Geolocation Views & Maps 8

Same name and namespace in other branches
  1. 7 ip_geoloc.module \ip_geoloc_views_api()

Implements hook_views_api().

File

./ip_geoloc.module, line 885
IPGV&M is a mapping engine for Views that contain locations of entities and/or visitors. Google Maps, Leaflet and OpenLayers2 maps are all supported and available through this module. Using a number of optional sources IPGV&M also retrieves…

Code

function ip_geoloc_views_api() {
  return [
    'api' => views_api_version(),
    'path' => drupal_get_path('module', 'ip_geoloc') . '/views',
  ];
}