Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module connects the Rules and Flag modules to allow you to trigger custom actions based on when content is flagged or unflagged. It also provides an action to create new flagging entities.

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

Activity

Total releases
1
First release
Jan 2026
Latest release
6 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.5 Stable Jan 8, 2026