1.12.x admin_bar.inc admin_bar_theme_settings_submit($form, &$form_state)
1.10.x admin_bar.inc admin_bar_theme_settings_submit($form, &$form_state)
1.11.x admin_bar.inc admin_bar_theme_settings_submit($form, &$form_state)
1.7.x admin_bar.inc admin_bar_theme_settings_submit($form, &$form_state)

Submit handler for admin_bar_theme_settings().

File

modules/admin_bar/admin_bar.inc, line 749
Menu builder functions for Administration bar.

Code

function admin_bar_theme_settings_submit($form, &$form_state) {
  // Save the list of components as a simple array, rather than key/value pair.
  $form_state['values']['components'] = array_keys(array_filter($form_state['values']['components']));
}