You are here

function geoip_ctools_ctools_plugin_directory in GeoIP API 7.2

Implements hook_ctools_plugin_directory().

File

./geoip.module, line 172
API for using the MaxMind GeoLite Country database.

Code

function geoip_ctools_ctools_plugin_directory($module, $plugin) {
  if ($module == 'ctools' && !empty($plugin)) {
    return "plugins/{$plugin}";
  }
}