hook_event_dispatcher-8.x-2.04/modules/preprocess_event_dispatcher/src/Service/PreprocessEventServiceInterface.php
modules/preprocess_event_dispatcher/src/Service/PreprocessEventServiceInterface.php
<?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;
}
