You are here

function leaflet_geojson_ctools_plugin_directory in Leaflet GeoJSON 7.2

Implements hook_ctools_plugin_directory().

File

./leaflet_geojson.module, line 136
API Extension for using Leaflet with GeoJSON that currently just allows to add a bbox strategy.

Code

function leaflet_geojson_ctools_plugin_directory($owner, $plugin_type) {
  if ($owner == 'ctools' && $plugin_type == 'content_types') {
    return 'plugins/' . $plugin_type;
  }
}