Module Description
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
* If the entity is flagged
* 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.
* After flagging a content item
* After flagging a user
* ...
* After unflagging a user
* ...
rules actions
* Create a new flagging entity
* Delete scheduled entity
rules examples
It provides rules examples with the events, when install the module, these example will be imported with disabled status.
* Show a message when the article is flagged
* Show a message when the article is flagged as best article
* Show a message when the user is flagged
* Show a message when the user is unflagged
* Flag the article when it is created
* Flag the article when it is created and unflag it in schedule
rules condition
* If the entity is flagged
* 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.
* After flagging a content item
* After flagging a user
* ...
* After unflagging a user
* ...
rules actions
* Create a new flagging entity
* Delete scheduled entity
rules examples
It provides rules examples with the events, when install the module, these example will be imported with disabled status.
* Show a message when the article is flagged
* Show a message when the article is flagged as best article
* Show a message when the user is flagged
* Show a message when the user is unflagged
* Flag the article when it is created
* Flag the article when it is created and unflag it in schedule
Module Link
Project Usage
119
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the integration of 'Rules' and 'Flag' modules by adding events and actions for flagging or unflagging entities, along with providing examples of rules with these events and actions.
Data Name
rules_flag