function key_ctools_plugin_directory in Key 7.3
Same name and namespace in other branches
- 7 key.module \key_ctools_plugin_directory()
- 7.2 key.module \key_ctools_plugin_directory()
Implements hook_ctools_plugin_directory().
Tell CTools where to find plugins for this module.
File
- ./
key.module, line 92 - Main Key functionality and hook implementations.
Code
function key_ctools_plugin_directory($module, $plugin) {
if ($module == 'key' && !empty($plugin)) {
return "plugins/{$plugin}";
}
}