function ctools_access_ruleset_ctools_plugin_directory

cis7 ctools_access_ruleset.module ctools_access_ruleset_ctools_plugin_directory($module, $plugin)
cle7 ctools_access_ruleset.module ctools_access_ruleset_ctools_plugin_directory($module, $plugin)
elmsmedia7 ctools_access_ruleset.module ctools_access_ruleset_ctools_plugin_directory($module, $plugin)
icor7 ctools_access_ruleset.module ctools_access_ruleset_ctools_plugin_directory($module, $plugin)
meedjum_blog7 ctools_access_ruleset.module ctools_access_ruleset_ctools_plugin_directory($module, $plugin)
mooc7 ctools_access_ruleset.module ctools_access_ruleset_ctools_plugin_directory($module, $plugin)

Implementation of hook_ctools_plugin_directory() to let the system know we implement task and task_handler plugins.

File

sites/all/modules/ulmus/ctools/ctools_access_ruleset/ctools_access_ruleset.module, line 31
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;
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.