function 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

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;
    }
}