final class FakePreprocessEvent in Hook Event Dispatcher 8
Class FakePreprocessEvent.
@package Drupal\Tests\hook_event_dispatcher\Preprocess\Helpers
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Preprocess\AbstractPreprocessEvent extends \Symfony\Component\EventDispatcher\Event implements PreprocessEventInterface
- class \Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\Helpers\FakePreprocessEvent
Expanded class hierarchy of FakePreprocessEvent
1 file declares its use of FakePreprocessEvent
- PreprocessEventPassTest.php in tests/
src/ Unit/ Preprocess/ PreprocessEventPassTest.php
File
- tests/
src/ Unit/ Preprocess/ Helpers/ FakePreprocessEvent.php, line 12
Namespace
Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\HelpersView source
final class FakePreprocessEvent extends AbstractPreprocessEvent {
/**
* {@inheritdoc}
*/
public static function getHook() {
return '';
}
}
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. | |
FakePreprocessEvent:: |
public static | function |
Get the hook name. Overrides PreprocessEventInterface:: |
|
PreprocessEventInterface:: |
constant |