hook_event_dispatcher-8.x-2.04/modules/core_event_dispatcher/src/Event/Form/FormIdAlterEvent.php
modules/core_event_dispatcher/src/Event/Form/FormIdAlterEvent.php
<?php
namespace Drupal\core_event_dispatcher\Event\Form;
use Drupal\hook_event_dispatcher\Attribute\HookEvent;
/**
* Class FormIdAlterEvent.
*/
#[HookEvent(id: 'form_id_alter', alter: 'form')]
class FormIdAlterEvent extends AbstractFormEvent {
/**
* {@inheritdoc}
*/
public function getDispatcherType(): string {
return 'hook_event_dispatcher.form_' . $this->getFormId() . '.alter';
}
}
