FormState::setSubmitted

public FormState::setSubmitted()

Sets that the form has been submitted.

Return value

$this

Overrides FormStateInterface::setSubmitted

File

core/lib/Drupal/Core/Form/FormState.php, line 757

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function setSubmitted() {
  $this->submitted = TRUE;
  return $this;
}
doc_Drupal
2016-10-29 09:16:07
Comments
Leave a Comment

Please login to continue.