You are here

function spaces_customize_form_validate in Spaces 5.2

Same name and namespace in other branches
  1. 6 spaces_admin.inc \spaces_customize_form_validate()
  2. 6.2 spaces_admin.inc \spaces_customize_form_validate()

Validate handler for spaces features form

File

./spaces_admin.inc, line 774

Code

function spaces_customize_form_validate($form_id, $form_values) {
  $space = $form_values['space'];
  $feature = $form_values['feature'];
  $customizers = spaces_customizers();
  foreach ($customizers as $id => $customizer) {
    $customizer
      ->validate($space, $feature, $form_values[$id]);
  }
}