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