Hook Event Dispatcher

Module Drupal Illustration Voir sur Drupal.org
Nb téléchargements : 15905

Components

  • Code
  • Documentation
  • Miscellaneous

Images


Licence

http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

permet de transformer et créer des events afin de remplacer les traditionnels hook de Drupal

Release

Status : Published
Projects : Modules
Maintenance status : Actively maintained
Development status : Under active development
Supported Branches : 4.2.
shield Stable releases for this project are covered by the security advisory policy.









Description

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.



Toutes les informations proviennent du site drupal.org