You are here

function openlayers_views_ctools_plugin_api in Openlayers 6.2

Same name and namespace in other branches
  1. 7.3 modules/openlayers_views/openlayers_views.module \openlayers_views_ctools_plugin_api()
  2. 7.2 modules/openlayers_views/openlayers_views.module \openlayers_views_ctools_plugin_api()

Implementation of hook_ctools_plugin_api().

File

modules/openlayers_views/openlayers_views.module, line 56
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,
        );
    }
  }
}