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

1
2
3
public static function hasAnyErrors() {
  return FormState::hasAnyErrors();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.