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