You are here

function ds_ctools_plugin_directory in Display Suite 7

Same name and namespace in other branches
  1. 6.3 ds.module \ds_ctools_plugin_directory()
  2. 7.2 ds.module \ds_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

./ds.module, line 285
Display Suite core functions.

Code

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