You are here

function semantic_panels_ctools_plugin_directory in Semantic Panels 7.2

Same name and namespace in other branches
  1. 7 semantic_panels.module \semantic_panels_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

./semantic_panels.module, line 29
Semantic Panels.

Code

function semantic_panels_ctools_plugin_directory($module, $plugin_type) {
  if ($module === 'panels' || $module === 'ctools' && !empty($plugin_type)) {
    return "plugins/{$plugin_type}";
  }
}