interface HookEventDispatcherManagerInterface in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 8 src/Manager/HookEventDispatcherManagerInterface.php \Drupal\hook_event_dispatcher\Manager\HookEventDispatcherManagerInterface
- 3.x src/Manager/HookEventDispatcherManagerInterface.php \Drupal\hook_event_dispatcher\Manager\HookEventDispatcherManagerInterface
Class HookEventDispatcherManager.
Wrapper class for the external dispatcher dependency. If this ever changes we only have to change it once.
Hierarchy
- interface \Drupal\hook_event_dispatcher\Manager\HookEventDispatcherManagerInterface
Expanded class hierarchy of HookEventDispatcherManagerInterface
All classes that implement HookEventDispatcherManagerInterface
1 file declares its use of HookEventDispatcherManagerInterface
- HookEventDispatcherManagerSpy.php in tests/
src/ Unit/ HookEventDispatcherManagerSpy.php
File
- src/
Manager/ HookEventDispatcherManagerInterface.php, line 14
Namespace
Drupal\hook_event_dispatcher\ManagerView source
interface HookEventDispatcherManagerInterface {
/**
* Registers an event dispatcher for given entity.
*
* @param \Drupal\hook_event_dispatcher\Event\EventInterface $event
* The event.
*
* @return \Symfony\Component\EventDispatcher\Event
* The event.
*/
public function register(EventInterface $event) : Event;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HookEventDispatcherManagerInterface:: |
public | function | Registers an event dispatcher for given entity. | 2 |