You are here

function key_encrypt_ctools_plugin_directory in Key 7.2

Same name and namespace in other branches
  1. 7.3 modules/key_encrypt/key_encrypt.module \key_encrypt_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

modules/key_encrypt/key_encrypt.module, line 12
Provides integration with Encrypt 2.x to allow keys managed within Key to be used for encryption.

Code

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