You are here

function cache_actions_ctools_plugin_directory in Cache Actions 6.2

Same name and namespace in other branches
  1. 7.2 cache_actions.module \cache_actions_ctools_plugin_directory()
  2. 7 cache_actions.module \cache_actions_ctools_plugin_directory()

Implementation of hook_ctools_plugin_directory().

File

./cache_actions.module, line 20
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}";
  }
}