function hosting_server_form_hosting_settings_alter in Hosting 7.4
Same name and namespace in other branches
- 7.3 server/hosting_server.module \hosting_server_form_hosting_settings_alter()
Implements hook_form_FORM_ID_alter().
File
- server/
hosting_server.module, line 920
Code
function hosting_server_form_hosting_settings_alter(&$form, $form_state) {
$form['hosting_default_db_server'] = array(
'#title' => 'Default database server',
'#description' => 'When importing sites, and during some other operations, Aegir will use this database, if none was specified.',
'#type' => 'select',
'#options' => hosting_get_servers('db'),
'#default_value' => variable_get('hosting_default_db_server', 4),
);
}