Skip navigation
Help

form_get_errors

6 form.inc form_get_errors()
7 form.inc form_get_errors()

Return an associative array of all errors.

Related topics

15 calls to form_get_errors()

File

drupal/includes/form.inc, line 1569

Code

function form_get_errors() {
  $form = form_set_error();
  if (!empty($form)) {
    return $form;
  }
}