Skip to content
Snippets Groups Projects
Commit 3257ebf6 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #603436 by chx: small clean-up in export profile.

parent 16dc866b
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -7,9 +7,6 @@
* Allows the profile to alter the site-configuration form. This is
* called through custom invocation, so $form_state is not populated.
*/
function expert_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'install_configure') {
// Set default for site name field.
$form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];
}
function expert_form_install_configure_form_alter(&$form) {
$form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment