You are here

function ctools_custom_content_ctools_plugin_directory in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 ctools_custom_content/ctools_custom_content.module \ctools_custom_content_ctools_plugin_directory()

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

File

ctools_custom_content/ctools_custom_content.module, line 28
ctools_custom_content module

Code

function ctools_custom_content_ctools_plugin_directory($module, $plugin) {

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