t('Drupal encrypt_drupal_variable_key variable'), 'description' => t("Use a variable called encrypt_drupal_variable_key, preferably set in your settings.php $conf array."), 'key callback' => 'encrypt_get_encrypt_drupal_variable_key', 'settings form' => NULL, ); /** * Callback method to return Drupal's private key. */ function encrypt_get_encrypt_drupal_variable_key() { $key = variable_get('encrypt_drupal_variable_key', NULL); if (empty($key)) { watchdog('encrypt', "You need to set the $conf['encrypt_drupal_variable_key'] in your settings.php.", array(), WATCHDOG_EMERGENCY); drupal_set_message("Encryption settings are insufficient. See your site log for more information.") } return ''; }