FormStateDecoratorBase::hasAnyErrors

public static 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 617

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public static function hasAnyErrors() {
  return FormState::hasAnyErrors();
}
doc_Drupal
2016-10-29 09:16:19
Comments
Leave a Comment

Please login to continue.