You are here

function og_ctools_plugin_directory in Organic groups 7.2

Same name and namespace in other branches
  1. 7 og.module \og_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

./og.module, line 432
Enable users to create and manage groups with roles and permissions.

Code

function og_ctools_plugin_directory($module, $plugin) {
  if ($module == 'ctools') {
    return 'plugins/' . $plugin;
  }
  elseif ($module == 'entityreference') {
    return "plugins/entityreference/{$plugin}";
  }
}