function party_ctools_plugin_directory in Party 7
Same name and namespace in other branches
- 8.2 party.module \party_ctools_plugin_directory()
Implements hook_ctools_plugin_directory().
File
- ./
party.module, line 1108 - Provides a generic CRM party entity.
Code
function party_ctools_plugin_directory($owner, $plugin_type) {
if ($owner == 'page_manager' && $plugin_type == 'tasks' || $owner == 'ctools' && $plugin_type == 'relationships' || $owner == 'ctools' && $plugin_type == 'content_types' || $owner == 'panelizer' && $plugin_type == 'entity') {
return "plugins/{$plugin_type}";
}
}