blob: 89800f66b5e5402877fff8310dc0c8c25b74c207 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
// $Id$
/**
* Implements hook_form_alter().
*
* Allows the profile to alter the site configuration form.
*/
function default_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'install_configure_form') {
// Set default for site name field.
$form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];
}
}
|