Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Rules Flag

Security covered Under active development 79 sites

Part of the Rules ecosystem · 10 projects

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
Drupal 9–11

Ask your assistant about Rules Flag

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Mar 2023
Latest release
9 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.5 Stable 9–11 Jan 8, 2026
1.0.4 Stable 9–10 Apr 20, 2024
1.0.3 Stable 8–10 Mar 5, 2023