class ExamplePreprocessEvent in Hook Event Dispatcher 8
Same name and namespace in other branches
- 8.2 examples/preprocess_example_module/src/Event/ExamplePreprocessEvent.php \Drupal\preprocess_example_module\Event\ExamplePreprocessEvent
- 3.x examples/preprocess_example_module/src/Event/ExamplePreprocessEvent.php \Drupal\preprocess_example_module\Event\ExamplePreprocessEvent
Class ExamplePreprocessEvent.
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Preprocess\AbstractPreprocessEvent extends \Symfony\Component\EventDispatcher\Event implements PreprocessEventInterface
- class \Drupal\preprocess_example_module\Event\ExamplePreprocessEvent
Expanded class hierarchy of ExamplePreprocessEvent
1 file declares its use of ExamplePreprocessEvent
- ExamplePreprocessEventFactory.php in src/
Example/ preprocess_example_module/ src/ Event/ Factory/ ExamplePreprocessEventFactory.php
File
- src/
Example/ preprocess_example_module/ src/ Event/ ExamplePreprocessEvent.php, line 10
Namespace
Drupal\preprocess_example_module\EventView source
class ExamplePreprocessEvent extends AbstractPreprocessEvent {
/**
* {@inheritdoc}
*/
public static function getHook() {
return 'example';
}
}
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. | |
ExamplePreprocessEvent:: |
public static | function |
Get the hook name. Overrides PreprocessEventInterface:: |
|
PreprocessEventInterface:: |
constant |