Same name and namespace in other branches
- 4.6.x includes/common.inc \form_get_errors()
- 4.7.x includes/form.inc \form_get_errors()
- 5.x includes/form.inc \form_get_errors()
- 7.x includes/form.inc \form_get_errors()
Return an associative array of all errors.
Related topics
2 calls to form_get_errors()
- node_form in modules/
node/ node.pages.inc - Generate the node add/edit form array.
- theme_taxonomy_overview_terms in modules/
taxonomy/ taxonomy.admin.inc - Theme the terms overview as a sortable list of terms.
File
- includes/
form.inc, line 872
Code
function form_get_errors() {
$form = form_set_error();
if (!empty($form)) {
return $form;
}
}