summaryrefslogtreecommitdiff
path: root/profiles/standard/standard.profile
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-04 23:08:34 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-04 23:08:34 +0000
commitbb293ccfb5193d2f769af6a8422765784c205536 (patch)
tree2c635efe03fe2056ded63cf11feab571f4b214cf /profiles/standard/standard.profile
parent144bda7dbb2ec2a92c3c2b393c563e291b3fd073 (diff)
downloadbrdo-bb293ccfb5193d2f769af6a8422765784c205536.tar.gz
brdo-bb293ccfb5193d2f769af6a8422765784c205536.tar.bz2
#420358 follow-up by Dave Reid: Rename profiles default => standard and expert => minimal, for consistency with labels.
Diffstat (limited to 'profiles/standard/standard.profile')
-rw-r--r--profiles/standard/standard.profile14
1 files changed, 14 insertions, 0 deletions
diff --git a/profiles/standard/standard.profile b/profiles/standard/standard.profile
new file mode 100644
index 000000000..d8203d0e5
--- /dev/null
+++ b/profiles/standard/standard.profile
@@ -0,0 +1,14 @@
+<?php
+// $Id$
+
+/**
+ * Implements hook_form_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'];
+ }
+}