FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit b7e51001 authored by thewilkybarkid's avatar thewilkybarkid
Browse files

Expand default site configuration

parent de344152
No related branches found
No related tags found
No related merge requests found
......@@ -13,4 +13,11 @@
function cambridge_form_install_configure_form_alter(&$form, $form_state) {
// Pre-populate the default country with United Kingdom.
$form['server_settings']['site_default_country']['#default_value'] = 'GB';
// Make sure the timezone is Europe/London.
$form['server_settings']['date_default_timezone']['#default_value'] = 'Europe/London';
unset($form['server_settings']['date_default_timezone']['#attributes']['class']);
// Only check for updates, no need for email notifications.
$form['update_notifications']['update_status_module']['#default_value'] = array(1);
}
......@@ -13,4 +13,11 @@
function cambridge_lite_form_install_configure_form_alter(&$form, $form_state) {
// Pre-populate the default country with United Kingdom.
$form['server_settings']['site_default_country']['#default_value'] = 'GB';
// Make sure the timezone is Europe/London.
$form['server_settings']['date_default_timezone']['#default_value'] = 'Europe/London';
unset($form['server_settings']['date_default_timezone']['#attributes']['class']);
// Only check for updates, no need for email notifications.
$form['update_notifications']['update_status_module']['#default_value'] = array(1);
}
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