You are here

function spaces_dashboard_admin_form_validate in Spaces 6.3

Same name and namespace in other branches
  1. 7.3 spaces_dashboard/spaces_dashboard.admin.inc \spaces_dashboard_admin_form_validate()
  2. 7 spaces_dashboard/spaces_dashboard.admin.inc \spaces_dashboard_admin_form_validate()

Validation for spaces_dashboard_admin_form, actually just limits what is saved to what needs to be saved.

File

spaces_dashboard/spaces_dashboard.admin.inc, line 71

Code

function spaces_dashboard_admin_form_validate($form, &$form_state) {
  $form_state['values']['spaces_dashboard_blocks'] = array_filter($form_state['values']['spaces_dashboard_blocks']);
}