function node_gallery_api_ctools_plugin_directory in Node Gallery 7
Implements hook_ctools_plugin_directory().
File
- ./
node_gallery_api.module, line 1248 - Node Gallery module.
Code
function node_gallery_api_ctools_plugin_directory($module, $plugin) {
if ($module == 'ctools') {
return 'plugins/' . $plugin;
}
elseif ($module == 'entityreference') {
return "plugins/entityreference/{$plugin}";
}
}