You are here

public function WidgetFormAlterEvent::getFormState in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/field_event_dispatcher/src/Event/Field/WidgetFormAlterEvent.php \Drupal\field_event_dispatcher\Event\Field\WidgetFormAlterEvent::getFormState()

Get the form state.

Return value

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

File

modules/field_event_dispatcher/src/Event/Field/WidgetFormAlterEvent.php, line 74

Class

WidgetFormAlterEvent
Class WidgetFormAlterEvent.

Namespace

Drupal\field_event_dispatcher\Event\Field

Code

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