root / drupal7 / profiles / minimal / minimal.profile @ 6a4d64c4
1 | 85ad3d82 | Assos Assos | <?php |
---|---|---|---|
2 | /** |
||
3 | * @file |
||
4 | * Enables modules and site configuration for a minimal site installation. |
||
5 | */ |
||
6 | |||
7 | /** |
||
8 | * Implements hook_form_FORM_ID_alter() for install_configure_form(). |
||
9 | * |
||
10 | * Allows the profile to alter the site configuration form. |
||
11 | */ |
||
12 | function minimal_form_install_configure_form_alter(&$form, $form_state) { |
||
13 | // Pre-populate the site name with the server name. |
||
14 | $form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME']; |
||
15 | } |