function openlayers_views_ctools_plugin_api in Openlayers 7.2
Same name and namespace in other branches
- 6.2 modules/openlayers_views/openlayers_views.module \openlayers_views_ctools_plugin_api()
- 7.3 modules/openlayers_views/openlayers_views.module \openlayers_views_ctools_plugin_api()
Implements hook_ctools_plugin_api().
File
- modules/
openlayers_views/ openlayers_views.module, line 84 - This file holds the main Drupal hook functions and private functions for the openlayers_views module.
Code
function openlayers_views_ctools_plugin_api($module, $api) {
if ($module == "openlayers") {
switch ($api) {
case 'openlayers_layers':
return array(
'version' => 1,
);
}
}
}