class FormAlterEvent in Hook Event Dispatcher 8
Class FormAlterEvent.
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Form\BaseFormEvent extends \Symfony\Component\EventDispatcher\Event implements EventInterface
- class \Drupal\hook_event_dispatcher\Event\Form\FormAlterEvent
Expanded class hierarchy of FormAlterEvent
2 files declare their use of FormAlterEvent
- ExampleFormEventSubscribers.php in src/
Example/ ExampleFormEventSubscribers.php - hook_event_dispatcher.module in ./
hook_event_dispatcher.module - Hook event dispatcher module.
File
- src/
Event/ Form/ FormAlterEvent.php, line 10
Namespace
Drupal\hook_event_dispatcher\Event\FormView source
class FormAlterEvent extends BaseFormEvent {
/**
* {@inheritdoc}
*/
public function getDispatcherType() {
return HookEventDispatcherInterface::FORM_ALTER;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseFormEvent:: |
protected | property | The form. | |
BaseFormEvent:: |
protected | property | The form id. | |
BaseFormEvent:: |
protected | property | The form state. | |
BaseFormEvent:: |
public | function | Get the form. | |
BaseFormEvent:: |
public | function | Get the form id. | |
BaseFormEvent:: |
public | function | Get the form state. | |
BaseFormEvent:: |
public | function | Set the form. | |
BaseFormEvent:: |
public | function | BaseFormEvent constructor. | 1 |
FormAlterEvent:: |
public | function |
Get the dispatcher type. Overrides EventInterface:: |