function chr_admin_settings_form in cURL HTTP Request 6
Same name and namespace in other branches
- 7 chr.admin.inc \chr_admin_settings_form()
Form settings array
1 string reference to 'chr_admin_settings_form'
- chr_menu in ./
chr.module - Implements hook_menu().
File
- ./
chr.admin.inc, line 11 - Admin settings
Code
function chr_admin_settings_form(&$form_state) {
$form['#access'] = array(
'administer chr',
);
$form['chr_debug'] = array(
'#type' => 'checkbox',
'#title' => t('Enable Debug Output'),
'#description' => t('Display all HTTP requests/response objects via Devel.'),
'#default_value' => variable_get('chr_debug', FALSE),
'#access' => module_exists('devel'),
);
// @todo add proxy settings (see README)
return system_settings_form($form);
}