You are here

function key_ctools_plugin_directory in Key 7.2

Same name and namespace in other branches
  1. 7.3 key.module \key_ctools_plugin_directory()
  2. 7 key.module \key_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

Tell CTools where to find plugins for this module.

File

./key.module, line 90
Provides the ability to manage keys, which can be used by other modules.

Code

function key_ctools_plugin_directory($module, $plugin) {
  if ($module == 'key' && !empty($plugin)) {
    return "plugins/{$plugin}";
  }
}