function system_form_install_select_profile_form_alter in Open Atrium 6
@TODO: This might be impolite/too aggressive. We should at least check that other install profiles are not present to ensure we don't collide with a similar form alter in their profile.
Set Open Atrium as default install profile.
File
- ./
openatrium.profile, line 358
Code
function system_form_install_select_profile_form_alter(&$form, $form_state) {
foreach ($form['profile'] as $key => $element) {
$form['profile'][$key]['#value'] = 'openatrium';
}
}