In this example we are using the hook_event_dispatcher module and we are subscribing and acting on an event created by it.
Repository from Github https://github.comdrupal-up/drupalup_hook_events
In this example we are using the hook_event_dispatcher module and we are subscribing and acting on an event created by it.