final class UsernamePreprocessEvent in Hook Event Dispatcher 8
Class UsernamePreprocessEvent.
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Preprocess\AbstractPreprocessEvent extends \Symfony\Component\EventDispatcher\Event implements PreprocessEventInterface
- class \Drupal\hook_event_dispatcher\Event\Preprocess\UsernamePreprocessEvent
Expanded class hierarchy of UsernamePreprocessEvent
2 files declare their use of UsernamePreprocessEvent
- OtherEventVariablesTest.php in tests/
src/ Unit/ Preprocess/ OtherEventVariablesTest.php - UsernamePreprocessEventFactory.php in src/
Event/ Preprocess/ Factory/ UsernamePreprocessEventFactory.php
File
- src/
Event/ Preprocess/ UsernamePreprocessEvent.php, line 8
Namespace
Drupal\hook_event_dispatcher\Event\PreprocessView source
final class UsernamePreprocessEvent extends AbstractPreprocessEvent {
/**
* {@inheritdoc}
*/
public static function getHook() {
return 'username';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractPreprocessEvent:: |
protected | property | Event variables. | |
AbstractPreprocessEvent:: |
public | function |
Get the variables. Overrides PreprocessEventInterface:: |
1 |
AbstractPreprocessEvent:: |
public static | function |
Get the Event name. Overrides PreprocessEventInterface:: |
1 |
AbstractPreprocessEvent:: |
public | function | PreprocessEvent constructor. | |
PreprocessEventInterface:: |
constant | |||
UsernamePreprocessEvent:: |
public static | function |
Get the hook name. Overrides PreprocessEventInterface:: |