function page_manager_ctools_plugin_directory in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 page_manager/page_manager.module \page_manager_ctools_plugin_directory()
Implements hook_ctools_plugin_directory() to let the system know where our task and task_handler plugins are.
File
- page_manager/
page_manager.module, line 60 - The page manager module provides a UI and API to manage pages.
Code
function page_manager_ctools_plugin_directory($owner, $plugin_type) {
if ($owner == 'page_manager') {
return 'plugins/' . $plugin_type;
}
if ($owner == 'ctools' && $plugin_type == 'cache') {
return 'plugins/' . $plugin_type;
}
}