function _encrypt_drupal_variable_is_present in Encrypt 7.2
Same name and namespace in other branches
- 7.3 plugins/key_providers/drupal_variable.inc \_encrypt_drupal_variable_is_present()
Callback function to validate the variable is present.
1 string reference to '_encrypt_drupal_variable_is_present'
- encrypt_drupal_variable_encrypt_key_providers in plugins/
key_providers/ drupal_variable.inc - Implements MODULE_FILENAME_encrypt_key_providers().
File
- plugins/
key_providers/ drupal_variable.inc, line 67
Code
function _encrypt_drupal_variable_is_present() {
$errors = array();
$key = variable_get('encrypt_drupal_variable_key', NULL);
if (empty($key)) {
$errors[] = t('The encrypt_drupal_variable_key is currently null. You should set it, preferably in $conf in your settings.php.');
}
return $errors;
}