You are here

function nd_ctools_plugin_directory in Display Suite 6.3

Tell ctools where we keep default plugins

File

modules/nd/nd.module, line 11
Node displays.

Code

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