function bear_form_install_configure_form_alter in Bear 7
Same name and namespace in other branches
- 7.2 bear.profile \bear_form_install_configure_form_alter()
Implements hook_form_FORM_ID_alter().
Allows the profile to alter the site configuration form.
File
- ./
bear.profile, line 8
Code
function bear_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"];
}