You are here

function addressfield_ctools_plugin_directory in Address Field 7

Implements hook_ctools_plugin_directory().

File

./addressfield.module, line 11
Defines a field for attaching country-specific addresses to entities.

Code

function addressfield_ctools_plugin_directory($module, $plugin) {
  if ($module == 'addressfield') {
    return 'plugins/' . $plugin;
  }
}