You are here

public function AbstractFormEvent::getFormState in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/core_event_dispatcher/src/Event/Form/AbstractFormEvent.php \Drupal\core_event_dispatcher\Event\Form\AbstractFormEvent::getFormState()

Get the form state.

Return value

\Drupal\Core\Form\FormStateInterface The form state.

File

modules/core_event_dispatcher/src/Event/Form/AbstractFormEvent.php, line 68

Class

AbstractFormEvent
Class AbstractFormEvent.

Namespace

Drupal\core_event_dispatcher\Event\Form

Code

public function getFormState() : FormStateInterface {
  return $this->formState;
}