Hook Event Dispatcher
This module dispatches events for several Drupal core and module hooks. This allows you to use the Drupal Event Subscriber system, instead of the outdated hook system, to react on certain events. The module includes events for the most common hooks.
Currently this module dispatches events for lots of hooks, just look in the code. If you want to see new events registered, open an issue in the issue queue with patch and we will try to add it. Hopefully, in the future, this will be in Drupal core.
Examples
The directory contains some examples on how to subscribe to certain events.
Recommended modules
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 4.2.0 | Stable | 10–11 | Sep 22, 2024 | |
| 4.0.3 | Stable | Jul 8, 2024 | ||
| 4.0.2 | Stable | Jun 21, 2024 | ||
| 4.1.x-dev | Dev | May 6, 2024 | ||
| 4.0.1 | Stable | Mar 14, 2024 | ||
| 4.0.0 | Stable | Mar 1, 2024 | ||
| 3.3.4 | Stable | Aug 11, 2023 | ||
| 4.0.0-rc1 | Pre-release | Aug 10, 2023 | ||
| 3.3.3 | Stable | May 18, 2023 | ||
| 4.0.0-beta1 | Pre-release | Apr 11, 2023 | ||
| 4.0.0-alpha2 | Pre-release | Feb 27, 2023 | ||
| 3.3.2 | Stable | Feb 27, 2023 | ||
| 4.0.0-alpha1 | Pre-release | Feb 27, 2023 |