summaryrefslogtreecommitdiff
path: root/profiles/standard
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-07-22 16:16:42 +0000
committerDries Buytaert <dries@buytaert.net>2010-07-22 16:16:42 +0000
commitd79dff03ac0a40457ec5d380f73ecd0bf1ea3e35 (patch)
treefb10b3cccb6ecc2166404e6049e18c44bb9cd288 /profiles/standard
parent19c7193c4c3b54efc053d8fee98cb5d00fd79c18 (diff)
downloadbrdo-d79dff03ac0a40457ec5d380f73ecd0bf1ea3e35.tar.gz
brdo-d79dff03ac0a40457ec5d380f73ecd0bf1ea3e35.tar.bz2
- Patch #124980 by jhodgdon: Indexer is removing ... and -- instead of replacing with a space.
Diffstat (limited to 'profiles/standard')
-rw-r--r--profiles/standard/standard.profile10
1 files changed, 4 insertions, 6 deletions
diff --git a/profiles/standard/standard.profile b/profiles/standard/standard.profile
index d8203d0e5..9180e9580 100644
--- a/profiles/standard/standard.profile
+++ b/profiles/standard/standard.profile
@@ -2,13 +2,11 @@
// $Id$
/**
- * Implements hook_form_alter().
+ * Implements hook_form_FORM_ID_alter().
*
* Allows the profile to alter the site configuration form.
*/
-function standard_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'];
- }
+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'];
}