Module Development

Declaring Events for Rules for Drupal 7

This page is archived

We're keeping this page up as a courtesy to folks who may need to refer to old instructions. We don't plan to update this page.

Sprout Video

This screencast shows how to:

  • Declare a Rules event
  • Declare the data provided by the event
  • Use that data in a rule

The example used creates an event "View is being rendered", passing along information about which view is being used.