final class CommentPreprocessEvent in Hook Event Dispatcher 8
Class CommentPreprocessEvent.
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\CommentPreprocessEvent
- class \Drupal\hook_event_dispatcher\Event\Preprocess\AbstractPreprocessEntityEvent implements PreprocessEntityEventInterface
Expanded class hierarchy of CommentPreprocessEvent
3 files declare their use of CommentPreprocessEvent
- CommentPreprocessEventFactory.php in src/
Event/ Preprocess/ Factory/ CommentPreprocessEventFactory.php - EntityEventTest.php in tests/
src/ Unit/ Preprocess/ EntityEventTest.php - EntityEventVariablesTest.php in tests/
src/ Unit/ Preprocess/ EntityEventVariablesTest.php
File
- src/
Event/ Preprocess/ CommentPreprocessEvent.php, line 8
Namespace
Drupal\hook_event_dispatcher\Event\PreprocessView source
final class CommentPreprocessEvent extends AbstractPreprocessEntityEvent {
/**
* {@inheritdoc}
*/
public static function getHook() {
return 'comment';
}
}
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. | |
CommentPreprocessEvent:: |
public static | function |
Get the hook name. Overrides PreprocessEventInterface:: |
|
PreprocessEventInterface:: |
constant |