You are here

function ctools_ctools_plugin_directory in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 ctools.module \ctools_ctools_plugin_directory()

Implementation of hook_ctools_plugin_directory() to let the system know where all our own plugins are.

File

./ctools.module, line 761
CTools primary module file.

Code

function ctools_ctools_plugin_directory($owner, $plugin_type) {
  if ($owner == 'ctools') {
    return 'plugins/' . $plugin_type;
  }
}