You are here

public function FormIdAlterEvent::getDispatcherType in Hook Event Dispatcher 8

Get the dispatcher type.

Return value

string The dispatcher type.

Overrides EventInterface::getDispatcherType

File

src/Event/Form/FormIdAlterEvent.php, line 13

Class

FormIdAlterEvent
Class FormIdAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Form

Code

public function getDispatcherType() {
  return 'hook_event_dispatcher.form_' . $this
    ->getFormId() . '.alter';
}