You are here

public function FormState::setValidationComplete in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::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/FormState.php, line 845
Contains \Drupal\Core\Form\FormState.

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

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