You are here

function admin_menu_theme_settings_validate in Administration menu 8.3

Same name and namespace in other branches
  1. 7.3 admin_menu.inc \admin_menu_theme_settings_validate()

Form validation handler for admin_menu_theme_settings().

File

./admin_menu.inc, line 721
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 &$enabled) {
    $enabled = (bool) $enabled;
  }
}