You are here

function openlayers_cck_ctools_plugin_api in Openlayers 6.2

Implementation of hook_ctools_plugin_api().

File

modules/openlayers_cck/openlayers_cck.module, line 32
This file holds the main Drupal hook functions and private functions for the openlayers_cck module.

Code

function openlayers_cck_ctools_plugin_api($module, $api) {
  if ($module == "openlayers") {
    switch ($api) {
      case 'openlayers_presets':
        return array(
          'version' => 1,
        );
      case 'openlayers_layers':
        return array(
          'version' => 1,
        );
      case 'openlayers_styles':
        return array(
          'version' => 1,
        );
    }
  }
}