You are here

final class FakePreprocessEvent in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/preprocess_event_dispatcher/tests/src/Unit/Helpers/FakePreprocessEvent.php \Drupal\Tests\preprocess_event_dispatcher\Unit\Helpers\FakePreprocessEvent

Class FakePreprocessEvent.

Hierarchy

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\Helpers
View source
final class FakePreprocessEvent extends AbstractPreprocessEvent {

  /**
   * {@inheritdoc}
   */
  public static function getHook() : string {
    return '';
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractPreprocessEvent::$variables protected property Event variables.
AbstractPreprocessEvent::getVariables public function Get the variables. Overrides PreprocessEventInterface::getVariables
AbstractPreprocessEvent::name public static function Get the Event name. Overrides PreprocessEventInterface::name 1
AbstractPreprocessEvent::__construct public function PreprocessEvent constructor.
FakePreprocessEvent::getHook public static function Get the hook name. Overrides PreprocessEventInterface::getHook
PreprocessEventInterface::DISPATCH_NAME_PREFIX public constant