You are here

PreprocessEventServiceInterface.php in Hook Event Dispatcher 8.2

File

modules/preprocess_event_dispatcher/src/Service/PreprocessEventServiceInterface.php
View source
<?php

namespace Drupal\preprocess_event_dispatcher\Service;


/**
 * Interface PreprocessEventServiceInterface.
 */
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;

}

Interfaces

Namesort descending Description
PreprocessEventServiceInterface Interface PreprocessEventServiceInterface.