You are here

FormAlterEvent.php in Hook Event Dispatcher 3.x

Same filename and directory in other branches
  1. 8.2 modules/core_event_dispatcher/src/Event/Form/FormAlterEvent.php

File

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

namespace Drupal\core_event_dispatcher\Event\Form;

use Drupal\hook_event_dispatcher\HookEventDispatcherInterface;

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

  /**
   * {@inheritdoc}
   */
  public function getDispatcherType() : string {
    return HookEventDispatcherInterface::FORM_ALTER;
  }

}

Classes

Namesort descending Description
FormAlterEvent Class FormAlterEvent.