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