PreprocessEventServiceInterface.php in Hook Event Dispatcher 3.x
Same filename and directory in other branches
File
modules/preprocess_event_dispatcher/src/Service/PreprocessEventServiceInterface.phpView 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
Name | Description |
---|---|
PreprocessEventServiceInterface | Interface PreprocessEventServiceInterface. |