You are here

function openatrium_form_panopoly_theme_selection_form_alter in Open Atrium 7.2

Implements hook_form_FORM_ID_alter() for panopoly_theme_selection_form.

File

./openatrium.profile, line 55

Code

function openatrium_form_panopoly_theme_selection_form_alter(&$form, &$form_state, $form_id) {

  // Change the default theme in the selection form.
  unset($form['theme_wrapper']['theme']['#options']['radix']);
  unset($form['theme_wrapper']['theme']['#options']['radix_starter']);
  $form['theme_wrapper']['theme']['#default_value'] = 'oa_radix';
}