Returns an associative array of all errors.
... See full list
function form_get_errors() { $form = form_set_error(); if (!empty($form)) { return $form; } }