You are here

function key_encrypt_key_get_key in Key 7.2

Same name and namespace in other branches
  1. 7.3 modules/key_encrypt/plugins/key_providers/key.inc \key_encrypt_key_get_key()

Callback function to return the key.

1 string reference to 'key_encrypt_key_get_key'
key_encrypt_encrypt_key_providers in modules/key_encrypt/plugins/key_providers/key.inc
Implements MODULE_FILENAME_encrypt_key_providers().

File

modules/key_encrypt/plugins/key_providers/key.inc, line 26

Code

function key_encrypt_key_get_key($settings) {
  if (empty($settings['key_config'])) {
    return FALSE;
  }
  $key = key_get_key($settings['key_config']);
  return $key;
}