interface ClearableErrorsInterface

A form element whose errors can be cleared.

Methods

clearErrors(bool $deep = false)

Removes all the errors of this form.

Details

clearErrors(bool $deep = false)

Removes all the errors of this form.

Parameters

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