You are here

public function FormState::isSubmitted in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::isSubmitted()
  2. 10 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::isSubmitted()

Determines if the form has been submitted.

Return value

bool TRUE if the form has been submitted, FALSE otherwise.

Overrides FormStateInterface::isSubmitted

File

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

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function isSubmitted() {
  return $this->submitted;
}