FormState::setValidationComplete

public FormState::setValidationComplete($validation_complete = TRUE)

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 842

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;
}
doc_Drupal
2016-10-29 09:16:09
Comments
Leave a Comment

Please login to continue.