You are here

function party_ctools_plugin_directory in Party 8.2

Same name and namespace in other branches
  1. 7 party.module \party_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

./party.module, line 1310
Provides a generic CRM party entity.

Code

function party_ctools_plugin_directory($owner, $plugin_type) {
  if ($owner == 'party' || $owner == 'page_manager' && $plugin_type == 'tasks' || $owner == 'ctools' && $plugin_type == 'relationships' || $owner == 'ctools' && $plugin_type == 'content_types') {
    return "plugins/{$plugin_type}";
  }
}