interface ClearableErrorsInterface

A form element whose errors can be cleared.

Methods

clearErrors(bool $deep = false)

Removes all the errors of this form.

Details

at line 26
clearErrors(bool $deep = false)

Removes all the errors of this form.

Parameters

bool $deep Whether to remove errors from child forms as well