You are here

public function FormStateDecoratorBase::setValidationComplete in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::setValidationComplete()

Sets that validation has been completed.

Parameters

bool $validation_complete: TRUE if validation is complete, FALSE otherwise.

Return value

$this

Overrides FormStateInterface::setValidationComplete

File

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

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public function setValidationComplete($validation_complete = TRUE) {
  $this->decoratedFormState
    ->setValidationComplete($validation_complete);
  return $this;
}