You are here

function panels_ctools_plugin_directory in Panels 6.2

Same name and namespace in other branches
  1. 6.3 panels.module \panels_ctools_plugin_directory()
  2. 7.3 panels.module \panels_ctools_plugin_directory()

Implementation of hook_ctools_plugin_directory() to let the system know we implement task and task_handler plugins.

Related topics

File

./panels.module, line 933
panels.module

Code

function panels_ctools_plugin_directory($plugin) {
  if ($plugin == 'tasks' || $plugin == 'task_handlers') {
    return 'plugins/' . $plugin;
  }
}