chr.admin.inc in cURL HTTP Request 6
Same filename and directory in other branches
Admin settings
File
chr.admin.incView source
<?php
/**
* @file
* Admin settings
*/
/**
* Form settings array
*/
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);
}
Functions
Name | Description |
---|---|
chr_admin_settings_form | Form settings array |