summaryrefslogtreecommitdiff
path: root/profiles/minimal/minimal.profile
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/minimal/minimal.profile')
-rw-r--r--profiles/minimal/minimal.profile3
1 files changed, 2 insertions, 1 deletions
diff --git a/profiles/minimal/minimal.profile b/profiles/minimal/minimal.profile
index 5fd06c3fc..7f0bf8a98 100644
--- a/profiles/minimal/minimal.profile
+++ b/profiles/minimal/minimal.profile
@@ -2,10 +2,11 @@
// $Id$
/**
- * Implements hook_form_alter().
+ * Implements hook_form_FORM_ID_alter().
*
* Allows the profile to alter the site configuration form.
*/
function minimal_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'];
}