function cache_actions_ctools_plugin_directory in Cache Actions 7.2
Same name and namespace in other branches
- 6.2 cache_actions.module \cache_actions_ctools_plugin_directory()
- 7 cache_actions.module \cache_actions_ctools_plugin_directory()
Implements hook_ctools_plugin_directory().
File
- ./
cache_actions.module, line 21 - This is the module file. It contains hooks for panels and views.
Code
function cache_actions_ctools_plugin_directory($module, $plugin) {
if (($module == 'page_manager' || $module == 'panels' || $module == 'ctools') && !empty($plugin)) {
return "plugins/{$plugin}";
}
}