You are here

function og_subgroups_ctools_plugin_directory in Subgroups for Organic groups 7.2

Same name and namespace in other branches
  1. 7 og_subgroups.module \og_subgroups_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

./og_subgroups.module, line 23
Provides users the ability to inherit permissions on subgroups.

Code

function og_subgroups_ctools_plugin_directory($module, $plugin) {
  if ($module == 'entityreference') {
    return "plugins/entityreference/{$plugin}";
  }
}