You are here

function rb_misc_ctools_plugin_directory in Rules Bonus Pack 7

Implementation of hook_ctools_plugin_directory().

File

./rb_misc.module, line 190
A necessary file for letting Drupal know this is a module. All functionality goes into rb_misc.rules.inc.

Code

function rb_misc_ctools_plugin_directory($module, $plugin) {
  if ($module == 'ctools') {
    return 'plugins/' . $plugin;
  }
}