final class FormPreprocessEvent in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/preprocess_event_dispatcher/src/Event/FormPreprocessEvent.php \Drupal\preprocess_event_dispatcher\Event\FormPreprocessEvent
Class FormPreprocessEvent.
Hierarchy
- class \Drupal\preprocess_event_dispatcher\Event\AbstractPreprocessEvent extends \Symfony\Component\EventDispatcher\Event implements PreprocessEventInterface
- class \Drupal\preprocess_event_dispatcher\Event\FormPreprocessEvent
Expanded class hierarchy of FormPreprocessEvent
3 files declare their use of FormPreprocessEvent
- FormPreprocessEventFactory.php in modules/
preprocess_event_dispatcher/ src/ Factory/ FormPreprocessEventFactory.php - OtherEventTest.php in modules/
preprocess_event_dispatcher/ tests/ src/ Unit/ OtherEventTest.php - OtherEventVariablesTest.php in modules/
preprocess_event_dispatcher/ tests/ src/ Unit/ OtherEventVariablesTest.php
File
- modules/
preprocess_event_dispatcher/ src/ Event/ FormPreprocessEvent.php, line 8
Namespace
Drupal\preprocess_event_dispatcher\EventView source
final class FormPreprocessEvent extends AbstractPreprocessEvent {
/**
* {@inheritdoc}
*/
public static function getHook() : string {
return 'form';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractPreprocessEvent:: |
protected | property | Event variables. | |
AbstractPreprocessEvent:: |
public | function |
Get the variables. Overrides PreprocessEventInterface:: |
|
AbstractPreprocessEvent:: |
public static | function |
Get the Event name. Overrides PreprocessEventInterface:: |
1 |
AbstractPreprocessEvent:: |
public | function | PreprocessEvent constructor. | |
FormPreprocessEvent:: |
public static | function |
Get the hook name. Overrides PreprocessEventInterface:: |
|
PreprocessEventInterface:: |
public | constant |