Commit c925507a authored by alexpott's avatar alexpott

Issue #2335189 by ashutoshsngh: Remove form.inc form_get_errors().

parent 04e4f03c
......@@ -84,18 +84,6 @@ function form_execute_handlers($type, &$form, FormStateInterface $form_state) {
}
}
/**
* Returns an associative array of all errors.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use $form_state->getErrors().
*
* @see \Drupal\Core\Form\FormStateInterface::getErrors()
*/
function form_get_errors(FormStateInterface $form_state) {
return $form_state->getErrors();
}
/**
* Flags an element as having an error.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment