You are here

bear.profile in Bear 7

Same filename and directory in other branches
  1. 8.2 bear.profile
  2. 8 bear.profile
  3. 7.2 bear.profile

File

bear.profile
View source
<?php

/**
 * Implements hook_form_FORM_ID_alter().
 *
 * Allows the profile to alter the site configuration form.
 */
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"];
}