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