final class StatusMessagesPreprocessEvent in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/preprocess_event_dispatcher/src/Event/StatusMessagesPreprocessEvent.php \Drupal\preprocess_event_dispatcher\Event\StatusMessagesPreprocessEvent
Class StatusMessagesPreprocessEvent.
Hierarchy
- class \Drupal\preprocess_event_dispatcher\Event\AbstractPreprocessEvent extends \Symfony\Component\EventDispatcher\Event implements PreprocessEventInterface
- class \Drupal\preprocess_event_dispatcher\Event\StatusMessagesPreprocessEvent
Expanded class hierarchy of StatusMessagesPreprocessEvent
3 files declare their use of StatusMessagesPreprocessEvent
- OtherEventTest.php in modules/
preprocess_event_dispatcher/ tests/ src/ Unit/ OtherEventTest.php - OtherEventVariablesTest.php in modules/
preprocess_event_dispatcher/ tests/ src/ Unit/ OtherEventVariablesTest.php - StatusMessagesPreprocessEventFactory.php in modules/
preprocess_event_dispatcher/ src/ Factory/ StatusMessagesPreprocessEventFactory.php
File
- modules/
preprocess_event_dispatcher/ src/ Event/ StatusMessagesPreprocessEvent.php, line 8
Namespace
Drupal\preprocess_event_dispatcher\EventView source
final class StatusMessagesPreprocessEvent extends AbstractPreprocessEvent {
/**
* {@inheritdoc}
*/
public static function getHook() : string {
return 'status_messages';
}
}
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. | |
PreprocessEventInterface:: |
public | constant | ||
StatusMessagesPreprocessEvent:: |
public static | function |
Get the hook name. Overrides PreprocessEventInterface:: |