You are here

function ds_ctools_plugin_directory in Display Suite 6.3

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

Tell ctools where we keep default plugins

File

./ds.module, line 116

Code

function ds_ctools_plugin_directory($module, $plugin) {
  if ($module == 'ds' && !empty($plugin)) {
    return "plugins/{$plugin}";
  }
}