function skinr_ctools_plugin_directory in Skinr 6
Same name and namespace in other branches
- 6.2 modules/panels.skinr.inc \skinr_ctools_plugin_directory()
Implementation of hook_ctools_plugin_directory() to let the system know we implement panels plugins.
Related topics
File
- modules/
panels.skinr.inc, line 383 - Provide skinr handling for panels.module.
Code
function skinr_ctools_plugin_directory($module, $plugin) {
// Safety: go away if CTools is not at an appropriate version.
if (!module_invoke('ctools', 'api_version', PANELS_REQUIRED_CTOOLS_API)) {
return;
}
if ($module == 'panels') {
return 'modules/panels';
}
}