You are here

public function AbstractFormEvent::getForm 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::getForm()

Get the form.

Return value

array The form.

File

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

Class

AbstractFormEvent
Class AbstractFormEvent.

Namespace

Drupal\core_event_dispatcher\Event\Form

Code

public function &getForm() : array {
  return $this->form;
}