-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdrupaleasy.profile
24 lines (22 loc) · 937 Bytes
/
drupaleasy.profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
* Implement hook_install().
*
* Perform actions to set up the site for this profile.
*/
function drupaleasy_install() {
include_once DRUPAL_ROOT . '/profiles/standard/standard.install';
standard_install();
}
/**
* implements hook_form_FORM_ID_alter()
*/
function drupaleasy_form_install_configure_form_alter(&$form, &$form_state) {
$form['site_information']['site_mail']['#default_value'] = '[email protected]';
$form['admin_account']['account']['name']['#default_value'] = 'admin';
$form['admin_account']['account']['mail']['#default_value'] = '[email protected]';
$form['server_settings']['site_default_country']['#default_value'] = 'US';
$form['server_settings']['date_default_timezone']['#default_value'] = 'America/New York';
$form['update_notifications']['update_status_module']['#default_value'][0] = FALSE;
$form['update_notifications']['update_status_module']['#default_value'][1] = FALSE;
}