function encrypt_drupal_variable_key_settings_form in Encrypt 7.2
Settings form for the Drupal variable key provider.
1 string reference to 'encrypt_drupal_variable_key_settings_form'
- 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 48
Code
function encrypt_drupal_variable_key_settings_form($defaults) {
$form = array();
$form['method'] = array(
'#type' => 'select',
'#title' => t('Method'),
'#options' => array(
'variable_contents' => t('Variable contents'),
'base64_decode' => t('Base64 decode'),
),
'#default_value' => isset($defaults['method']) ? $defaults['method'] : 'variable_contents',
);
return $form;
}