function admin_menu_theme_settings_validate

nittany7 admin_menu.inc admin_menu_theme_settings_validate(&$form, &$form_state)
cis7 admin_menu.inc admin_menu_theme_settings_validate(&$form, &$form_state)
mooc7 admin_menu.inc admin_menu_theme_settings_validate(&$form, &$form_state)

Form validation handler for admin_menu_theme_settings().

File

modules/contrib/admin_menu/admin_menu.inc, line 746
Menu builder functions for Administration menu.

Code

function admin_menu_theme_settings_validate(&$form, &$form_state) {
  // Change the configured components to Boolean values.
  foreach ($form_state['values']['admin_menu_components'] as $component => &$enabled) {
    $enabled = (bool) $enabled;
  }
}