Hooks, Actions, and Triggers

  • John K. VanDyk


A common goal when working with Drupal is for something to happen when a certain event takes place. For example, a site administrator may want to receive an e-mail message when a message is posted. Or a user should be blocked if certain words appear in a comment. This chapter describes how to hook into Drupal’s events to have your own code run when those events take place.


User Action Simple Action Advanced Action Trigger Module Insert Operation 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© John K. VanDyk 2008

Authors and Affiliations

  • John K. VanDyk

There are no affiliations available

Personalised recommendations