Rules integration

Last modified: September 14, 2009 - 20:34

Flag module provides integration with the Rules module.

Rules is a more powerful replacement for Drupal's built-in Actions (and Trigger). It lets you "script" your site, using an easy administrative GUI, in response to various events. Rules, in short, is an alternative to that glue code you use to write in little custom modules.

Flag module provides the following Rules actions:

  • Flagging and unflagging items (on behalf of any user).
  • Trimming flags (restricts the number of items in a flag list, similar to NodeQueue).

Flag module provides the following Rules conditions:

  • Finding out if an item is flagged over a certain number of times.
  • Finding out if an item is flagged by a certain user.

Flag module provides the following Rules events:

  • On flagging and unflagging of items.
 
 

Drupal is a registered trademark of Dries Buytaert.