final class PagePreprocessEvent in Hook Event Dispatcher 8
Class PagePreprocessEvent.
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Preprocess\AbstractPreprocessEvent extends \Symfony\Component\EventDispatcher\Event implements PreprocessEventInterface
- class \Drupal\hook_event_dispatcher\Event\Preprocess\PagePreprocessEvent
Expanded class hierarchy of PagePreprocessEvent
4 files declare their use of PagePreprocessEvent
- ExamplePreprocessorEventSubscriber.php in src/
Example/ ExamplePreprocessorEventSubscriber.php - OtherEventTest.php in tests/
src/ Unit/ Preprocess/ OtherEventTest.php - OtherEventVariablesTest.php in tests/
src/ Unit/ Preprocess/ OtherEventVariablesTest.php - PagePreprocessEventFactory.php in src/
Event/ Preprocess/ Factory/ PagePreprocessEventFactory.php
File
- src/
Event/ Preprocess/ PagePreprocessEvent.php, line 8
Namespace
Drupal\hook_event_dispatcher\Event\PreprocessView source
final class PagePreprocessEvent extends AbstractPreprocessEvent {
/**
* {@inheritdoc}
*/
public static function getHook() {
return 'page';
}
}
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. | |
PagePreprocessEvent:: |
public static | function |
Get the hook name. Overrides PreprocessEventInterface:: |
|
PreprocessEventInterface:: |
constant |