You are here

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

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

Get the form state.

Return value

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

File

modules/field_event_dispatcher/src/Event/Field/WidgetMultivalueFormAlterEvent.php, line 76

Class

WidgetMultivalueFormAlterEvent
Class WidgetMultivalueFormAlterEvent.

Namespace

Drupal\field_event_dispatcher\Event\Field

Code

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