You are here

FormIdAlterEvent.php in Hook Event Dispatcher 8.2

Same filename and directory in other branches
  1. 3.x modules/core_event_dispatcher/src/Event/Form/FormIdAlterEvent.php

File

modules/core_event_dispatcher/src/Event/Form/FormIdAlterEvent.php
View source
<?php

namespace Drupal\core_event_dispatcher\Event\Form;


/**
 * Class FormIdAlterEvent.
 */
class FormIdAlterEvent extends AbstractFormEvent {

  /**
   * {@inheritdoc}
   */
  public function getDispatcherType() : string {
    return 'hook_event_dispatcher.form_' . $this
      ->getFormId() . '.alter';
  }

}

Classes

Namesort descending Description
FormIdAlterEvent Class FormIdAlterEvent.