Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Hook Event Dispatcher

Security covered Under active development 10,692 sites

This module dispatches events for Drupal core and module hooks, allowing developers to use the event subscriber system instead of the older hook system. It provides events for common hooks and encourages contributions for additional events.

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.

Drupal 10–11 PHP >=8.1.0

Ask your assistant about Hook Event Dispatcher

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

6 tracked projects depend on this one

Activity

Tracked releases
13
Tracked since
Feb 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
4.2.0 Stable 10–11 PHP >=8.1.0 Sep 22, 2024
4.0.3 Stable 10 PHP >=8.1.0 Jul 8, 2024
4.0.2 Stable 10 PHP >=8.1.0 Jun 21, 2024
4.1.x-dev Dev 10 PHP >=8.1.0 May 6, 2024
4.0.1 Stable 10 PHP >=8.1.0 Mar 14, 2024
4.0.0 Stable 10 PHP >=8.1.0 Mar 1, 2024
3.3.4 Stable 9 Aug 11, 2023
4.0.0-rc1 Pre-release 10 PHP >=8.1.0 Aug 10, 2023
3.3.3 Stable 9 May 18, 2023
4.0.0-beta1 Pre-release 9–10 PHP >=8.1.0 Apr 11, 2023