function system_form_install_select_profile_form_alter in Brainstorm profile 7
Implements hook_form_alter() for install_select_profile_form().
Select the current install profile by default.
File
- ./
brainstorm_profile.profile, line 13 - Enables modules and site configuration for a standard site installation.
Code
function system_form_install_select_profile_form_alter(&$form, $form_state) {
if (!function_exists("system_form_alter")) {
foreach ($form['profile'] as $profile_name => $profile_data) {
$form['profile'][$profile_name]['#value'] = 'brainstorm_profile';
}
}
}