mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2024-11-29 17:03:26 +00:00
15 lines
458 B
Text
15 lines
458 B
Text
<?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'];
|
|
}
|