function eloqua_admin_form in Eloqua 7.2
Same name and namespace in other branches
- 8 eloqua.admin.inc \eloqua_admin_form()
- 6 eloqua.admin.inc \eloqua_admin_form()
- 7 eloqua.admin.inc \eloqua_admin_form()
Form constructor for the Eloqua administration form.
2 string references to 'eloqua_admin_form'
- eloqua_menu in ./
eloqua.module - Implements hook_menu().
- eloqua_webform_form_alter in eloqua_webform/
eloqua_webform.module - Implements hook_form_alter().
File
- ./
eloqua.admin.inc, line 12 - General administration form for Eloqua settings.
Code
function eloqua_admin_form() {
$form = array();
$form['general'] = array(
'#type' => 'fieldset',
'#title' => t('General Settings'),
'#description' => t('General settings applicable to all Eloqua functionality.'),
'eloqua_site_id' => array(
'#type' => 'textfield',
'#title' => t('Site Identifier'),
'#description' => t('The Eloqua Site ID for this web site.'),
'#size' => 20,
'#maxlength' => 64,
'#default_value' => variable_get('eloqua_site_id', 0),
'#required' => TRUE,
),
'batch_size' => array(
'#type' => 'textfield',
'#title' => t('Batch Size'),
'#description' => t('The number of posts to process per cron run. Default=50'),
'#size' => 5,
'#maxlength' => 5,
'#default_value' => (int) variable_get('batch_size', 50),
),
);
// Add tracking visibility settings.
$form[] = automate_form_tracking('eloqua');
return system_settings_form($form);
}