summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/profiles/standard/standard.profile
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/profiles/standard/standard.profile')
-rw-r--r--kolab.org/www/drupal-7.26/profiles/standard/standard.profile15
1 files changed, 15 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/profiles/standard/standard.profile b/kolab.org/www/drupal-7.26/profiles/standard/standard.profile
new file mode 100644
index 0000000..d554c93
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/standard/standard.profile
@@ -0,0 +1,15 @@
+<?php
+/**
+ * @file
+ * Enables modules and site configuration for a standard site installation.
+ */
+
+/**
+ * Implements hook_form_FORM_ID_alter() for install_configure_form().
+ *
+ * Allows the profile to alter the site configuration form.
+ */
+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'];
+}