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\FormCode
public function getFormState() {
return $this->formState;
}