function semantic_panels_ctools_plugin_directory in Semantic Panels 7.2
Same name and namespace in other branches
- 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}";
}
}