You are here

function views_content_ctools_plugin_directory in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 views_content/views_content.module \views_content_ctools_plugin_directory()

Implementation of hook_ctools_plugin_dierctory() to let the system know where our content_type plugins are.

File

views_content/views_content.module, line 35
views_content.module

Code

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