Newer
Older
Dries Buytaert
committed
<?php
Gábor Hojtsy
committed
/**
Dries Buytaert
committed
* Implements hook_form_FORM_ID_alter().
Gábor Hojtsy
committed
*
* Allows the profile to alter the site configuration form.
Gábor Hojtsy
committed
*/
Dries Buytaert
committed
function standard_form_install_configure_form_alter(&$form, $form_state) {
// Pre-populate the site name with the server name.
$form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];