FormIdAlterEvent.php in Hook Event Dispatcher 8
Namespace
Drupal\hook_event_dispatcher\Event\FormFile
src/Event/Form/FormIdAlterEvent.phpView source
<?php
namespace Drupal\hook_event_dispatcher\Event\Form;
/**
* Class FormIdAlterEvent.
*/
class FormIdAlterEvent extends BaseFormEvent {
/**
* {@inheritdoc}
*/
public function getDispatcherType() {
return 'hook_event_dispatcher.form_' . $this
->getFormId() . '.alter';
}
}
Classes
Name | Description |
---|---|
FormIdAlterEvent | Class FormIdAlterEvent. |