standard.profile

Same filename in other branches
  1. 9 core/profiles/standard/standard.profile
  2. 8.9.x core/profiles/standard/standard.profile
  3. 10 core/profiles/standard/standard.profile
  4. 11.x core/profiles/standard/standard.profile

Enables modules and site configuration for a standard site installation.

File

profiles/standard/standard.profile

View source
<?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'];
}

Functions

Title Deprecated Summary
standard_form_install_configure_form_alter Implements hook_form_FORM_ID_alter() for install_configure_form().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.