function opening_hours_ctools_plugin_directory in Opening hours 7
Same name and namespace in other branches
- 6 opening_hours.module \opening_hours_ctools_plugin_directory()
Implements hook_ctools_plugin_directory().
File
- ./
opening_hours.module, line 256 - Opening hours module.
Code
function opening_hours_ctools_plugin_directory($module, $plugin) {
if ($module == 'ctools' && !empty($plugin)) {
return "plugins/{$plugin}";
}
}