Remove the form_clear_error() method as it is deprecated. Instead, \Drupal::formBuilder()->clearErrors();

submitted the patch for the same.

CommentFileSizeAuthor
remove-form-clear-error.patch752 bytesjoshi.rohit100
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

+1

alexpott’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: -@depreacted +@deprecated

Committed b6e2652 and pushed to 8.x. Thanks!

  • alexpott committed b6e2652 on 8.x
    Issue #2299499 by joshi.rohit100: Remove form_clear_error() as it is...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.