public FormStateDecoratorBase::clearErrors()
Clears all errors against all form elements made by self::setErrorByName().
Overrides FormStateInterface::clearErrors
File
- core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 642
Class
- FormStateDecoratorBase
- Decorates another form state.
Namespace
Drupal\Core\Form
Code
public function clearErrors() { $this->decoratedFormState->clearErrors(); }
Please login to continue.