final class ParagraphPreprocessEvent in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/preprocess_event_dispatcher/src/Event/ParagraphPreprocessEvent.php \Drupal\preprocess_event_dispatcher\Event\ParagraphPreprocessEvent
Class ParagraphPreprocessEvent.
Hierarchy
- class \Drupal\preprocess_event_dispatcher\Event\AbstractPreprocessEvent extends \Symfony\Component\EventDispatcher\Event implements PreprocessEventInterface
- class \Drupal\preprocess_event_dispatcher\Event\AbstractPreprocessEntityEvent implements PreprocessEntityEventInterface
- class \Drupal\preprocess_event_dispatcher\Event\ParagraphPreprocessEvent
- class \Drupal\preprocess_event_dispatcher\Event\AbstractPreprocessEntityEvent implements PreprocessEntityEventInterface
Expanded class hierarchy of ParagraphPreprocessEvent
3 files declare their use of ParagraphPreprocessEvent
- EntityEventTest.php in modules/
preprocess_event_dispatcher/ tests/ src/ Unit/ EntityEventTest.php - EntityEventVariablesTest.php in modules/
preprocess_event_dispatcher/ tests/ src/ Unit/ EntityEventVariablesTest.php - ParagraphPreprocessEventFactory.php in modules/
preprocess_event_dispatcher/ src/ Factory/ ParagraphPreprocessEventFactory.php
File
- modules/
preprocess_event_dispatcher/ src/ Event/ ParagraphPreprocessEvent.php, line 8
Namespace
Drupal\preprocess_event_dispatcher\EventView source
final class ParagraphPreprocessEvent extends AbstractPreprocessEntityEvent {
/**
* {@inheritdoc}
*/
public static function getHook() : string {
return 'paragraph';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractPreprocessEntityEvent:: |
public static | function |
Get the Event name. Overrides AbstractPreprocessEvent:: |
|
AbstractPreprocessEvent:: |
protected | property | Event variables. | |
AbstractPreprocessEvent:: |
public | function |
Get the variables. Overrides PreprocessEventInterface:: |
|
AbstractPreprocessEvent:: |
public | function | PreprocessEvent constructor. | |
ParagraphPreprocessEvent:: |
public static | function |
Get the hook name. Overrides PreprocessEventInterface:: |
|
PreprocessEventInterface:: |
public | constant |