interface PreprocessEventServiceInterface in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/preprocess_event_dispatcher/src/Service/PreprocessEventServiceInterface.php \Drupal\preprocess_event_dispatcher\Service\PreprocessEventServiceInterface
Interface PreprocessEventServiceInterface.
Hierarchy
- interface \Drupal\preprocess_event_dispatcher\Service\PreprocessEventServiceInterface
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\ServiceView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PreprocessEventServiceInterface:: |
public | function | Create and dispatch the event. | 1 |