You are here

function stylizer_ctools_plugin_directory in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 stylizer/stylizer.module \stylizer_ctools_plugin_directory()

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

File

stylizer/stylizer.module, line 28
Stylizer module

Code

function stylizer_ctools_plugin_directory($module, $plugin) {

  // Most of this module is implemented as an export ui plugin, and the
  // rest is in ctools/includes/stylizer.inc
  if ($module == 'ctools' && $plugin == 'export_ui') {
    return 'plugins/' . $plugin;
  }
}