function FormStateDecoratorBase::hasAnyErrors

Determines if any forms have any errors.

Return value

bool TRUE if any form has any errors, FALSE otherwise.

Overrides FormStateInterface::hasAnyErrors

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 631

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public static function hasAnyErrors() {
  return FormState::hasAnyErrors();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.