function party_hat_ctools_plugin_directory in Party 8.2
Same name and namespace in other branches
- 7 modules/party_hat/party_hat.module \party_hat_ctools_plugin_directory()
Implements hook_ctools_plugin_directory().
File
- modules/
party_hat/ party_hat.module, line 689 - party_hat.module Provides an extensible access system for parties.
Code
function party_hat_ctools_plugin_directory($owner, $plugin_type) {
if ($owner == 'ctools' && $plugin_type == 'access') {
return "plugins/{$plugin_type}";
}
if ($owner == 'ctools' && $plugin_type == 'contexts') {
return "plugins/{$plugin_type}";
}
}