You are here

function openlayers_ctools_plugin_api in Openlayers 6.2

Same name and namespace in other branches
  1. 7.3 openlayers.module \openlayers_ctools_plugin_api()
  2. 7.2 openlayers.module \openlayers_ctools_plugin_api()

Implementation of hook_ctools_plugin_api().

File

./openlayers.module, line 1048
Main OpenLayers API File

Code

function openlayers_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,
        );
    }
  }
}