function ctools_access_ruleset_ctools_plugin_directory in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 ctools_access_ruleset/ctools_access_ruleset.module \ctools_access_ruleset_ctools_plugin_directory()
Implementation of hook_ctools_plugin_directory() to let the system know we implement task and task_handler plugins.
File
- ctools_access_ruleset/
ctools_access_ruleset.module, line 31 - The ctools_access_ruleset module.
Code
function ctools_access_ruleset_ctools_plugin_directory($module, $plugin) {
// Most of this module is implemented as an export ui plugin, and the
// rest is in ctools/includes/ctools_access_ruleset.inc.
if ($module == 'ctools' && ($plugin == 'export_ui' || $plugin == 'access')) {
return 'plugins/' . $plugin;
}
}