function workbench_ctools_plugin_directory in Workbench 7
Implements hook_ctools_plugin_directory() to let the system know where our task and task_handler plugins are.
File
- ./
workbench.module, line 213 - Workbench module file for editorial workspaces.
Code
function workbench_ctools_plugin_directory($owner, $plugin_type) {
if ($owner == 'page_manager') {
return 'plugins/page_manager/' . $plugin_type;
}
elseif ($owner == 'ctools' && $plugin_type == 'content_types') {
return 'plugins/' . $plugin_type;
}
}