You are here

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

Get the form id.

Return value

string The form id.

1 call to AbstractFormEvent::getFormId()
FormIdAlterEvent::getDispatcherType in modules/core_event_dispatcher/src/Event/Form/FormIdAlterEvent.php
Get the dispatcher type.

File

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

Class

AbstractFormEvent
Class AbstractFormEvent.

Namespace

Drupal\core_event_dispatcher\Event\Form

Code

public function getFormId() : string {
  return $this->formId;
}