You are here

interface PreprocessEventServiceInterface in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/preprocess_event_dispatcher/src/Service/PreprocessEventServiceInterface.php \Drupal\preprocess_event_dispatcher\Service\PreprocessEventServiceInterface

Interface PreprocessEventServiceInterface.

Hierarchy

Expanded class hierarchy of PreprocessEventServiceInterface

All classes that implement PreprocessEventServiceInterface

1 file declares its use of PreprocessEventServiceInterface
PreprocessModuleTest.php in modules/preprocess_event_dispatcher/tests/src/Unit/PreprocessModuleTest.php

File

modules/preprocess_event_dispatcher/src/Service/PreprocessEventServiceInterface.php, line 8

Namespace

Drupal\preprocess_event_dispatcher\Service
View source
interface PreprocessEventServiceInterface {

  /**
   * Create and dispatch the event.
   *
   * @param string $hook
   *   The hook name.
   * @param array $variables
   *   Variables.
   */
  public function createAndDispatchKnownEvents(string $hook, array &$variables) : void;

}

Members