function party_user_ctools_plugin_directory in Party 8.2
Same name and namespace in other branches
- 7 modules/party_user/party_user.module \party_user_ctools_plugin_directory()
Implements hook_ctools_plugin_directory().
File
- modules/
party_user/ party_user.module, line 215 - Support for linking users to parties
Code
function party_user_ctools_plugin_directory($owner, $plugin_type) {
if ($owner == 'party' || $owner == 'ctools' && $plugin_type == 'relationships') {
return "plugins/{$plugin_type}";
}
}