Module Development

Providing New Parameters 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 that an action provides new data objects to Rules
  • How to actually send the created data to Rules
  • How to save parameters that are manipulated by the action (but not created by it)

The example used creates an action that returns the number of hits in a selected view.