function trumba_admin_settings_form in Trumba 7
Admin settings form.
1 string reference to 'trumba_admin_settings_form'
- trumba_menu in ./
trumba.module - Implements hook_menu().
File
- ./
trumba.admin.inc, line 10 - Administrative form for Trumba module.
Code
function trumba_admin_settings_form($form, &$form_state) {
$form = array();
// Collect the webname, used to identify the organization/account that the
// spuds belong to.
$form['trumba_webname'] = array(
'#type' => 'textfield',
'#required' => TRUE,
'#title' => t('Default Web Name'),
'#description' => t('This is the default unique identifier for your account on Trumba.'),
'#default_value' => variable_get('trumba_webname', ''),
);
return system_settings_form($form);
}