You are here

public function FormState::setExecuted in Drupal 9

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

Sets that the form was submitted and has been processed and executed.

Return value

$this

Overrides FormStateInterface::setExecuted

File

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

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function setExecuted() {
  $this->executed = TRUE;
  return $this;
}