function accessibility_test_add_form_validate

cis7 accessibility.module accessibility_test_add_form_validate($form, &$form_state)
cle7 accessibility.module accessibility_test_add_form_validate($form, &$form_state)
elmsmedia7 accessibility.module accessibility_test_add_form_validate($form, &$form_state)
icor7 accessibility.module accessibility_test_add_form_validate($form, &$form_state)
meedjum_blog7 accessibility.module accessibility_test_add_form_validate($form, &$form_state)
mooc7 accessibility.module accessibility_test_add_form_validate($form, &$form_state)

Validate callback for saving accessibility test entities.

File

sites/all/modules/ulmus/accessibility/accessibility.module, line 501

Code

function accessibility_test_add_form_validate($form, &$form_state) {
  $test_submission = (object) $form_state['values'];
  $test_submission->type = 'accessibility_test';
  field_attach_form_validate('accessibility_test', $test_submission, $form, $form_state);
}