This module provides integration of 'Rules' and 'Flag' modules. It adds rules events after flagging or unflagging an entity, and the event action to create a new flagging entity. It adds rules examples with the events and actions.

rules condition

  1. If the entity is flagged
  2. If the flag has id

rules events

It provides rules events after flagging an entity with two context variables, one is flagging entity, the other one is the entity flagged.

  1. After flagging a content item
  2. After flagging a user
  3. ...
  4. After unflagging a user
  5. ...

rules actions

  1. Create a new flagging entity
  2. Delete scheduled entity

rules examples

It provides rules examples with the events, when install the module, these example will be imported with disabled status.

  1. Show a message when the article is flagged
  2. Show a message when the article is flagged as best article
  3. Show a message when the user is flagged
  4. Show a message when the user is unflagged
  5. Flag the article when it is created
  6. Flag the article when it is created and unflag it in schedule

Project information

Releases