function amazon_ses_config_form in Amazon SES 7.2
Config form for aws settings.
1 string reference to 'amazon_ses_config_form'
- amazon_ses_menu in ./
amazon_ses.module - Implements hook_menu().
File
- includes/
amazon_ses.admin.inc, line 10 - Administration menu callbacks for amazon_mail_service.
Code
function amazon_ses_config_form($form, $form_state) {
$form['amazon_ses_key'] = array(
'#type' => 'textfield',
'#title' => 'Access Key',
'#default_value' => variable_get('amazon_ses_key', ''),
'#required' => TRUE,
);
$form['amazon_ses_secret'] = array(
'#type' => 'textfield',
'#title' => 'Secret Key',
'#default_value' => variable_get('amazon_ses_secret', ''),
'#required' => TRUE,
);
$form['amazon_ses_region'] = array(
'#type' => 'textfield',
'#title' => 'Region',
'#default_value' => variable_get('amazon_ses_region', ''),
'#description' => t('Example us-west-2'),
'#required' => TRUE,
);
return system_settings_form($form);
}