You are here

public function WidgetFormAlterEvent::getFormState in Hook Event Dispatcher 8

Get the form state.

Return value

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

File

src/Event/Form/WidgetFormAlterEvent.php, line 86

Class

WidgetFormAlterEvent
Class WidgetFormAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Form

Code

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