| 5 form.inc | form_get_errors() |
| 6 form.inc | form_get_errors() |
| 7 form.inc | form_get_errors() |
| 8 form.inc | form_get_errors() |
Return an associative array of all errors.
Related topics
17 calls to form_get_errors()
File
- includes/
common.inc, line 1017 - Common functions that many Drupal modules will need to reference.
Code
function form_get_errors() {
if (array_key_exists('form', $GLOBALS)) {
return $GLOBALS['form'];
}
}
Login or register to post comments