Drupal is a registered trademark of Dries Buytaert

flag

Security covered
View on drupal.org

Flag is a flexible flagging system that is completely customizable by the administrator. Using this module, the site administrator can provide any number of flags for nodes, comments, users, and any other type of entity. Some possibilities include bookmarks, marking important, friends, or flag as offensive. With extensive views integration, you can create custom lists of popular content or keep tabs on important content.

Flags may be per-user, meaning that each user can mark an item individually, or global, meaning that the item is either marked or it is not marked, and any user who changes that changes it for everyone.

In this way, additional flags (similar to published and sticky) can be put on nodes, or other items, and dealt with by the system however the administration likes.

Features

  • Create unlimited arbitrary flags or bookmarks to flag content
  • Extensive Views integration to make lists of popular flagged content
  • Full support for Tokens in all messages and labels
  • JavaScript based toggling of flags
  • Limit flag display by content type and roles
  • Optionally show each flag as a checkbox on the node form

Each flag provides data to the Views module, and provides a default view to list 'my bookmarks'. The default views are basic, but are easily tailored to whatever the system administrator would like them to do.

The package includes a demo module which provides a simple bookmark and two sample views for 'My bookmarks' both as a stand-alone page at "bookmarks", and a page for each user as a tab under their profile at user/x/bookmarks.

Documentation

The Flag module has a very extensive handbook on drupal.org. Please browse through it before asking questions in the issue queue (especially if you have a question about how to make a particular View with Flag module).

Credits

Currently maintained by Ivnish
Flag module originally written by quicksketch and mooffie

Activity

Total releases
7
First release
Jan 2025
Latest release
4 months ago
Release cadence
46 days
Stability
57% stable

Release Timeline

Releases

Version Type Release date
5.0.3 Stable Oct 27, 2025
5.0.2 Stable Oct 17, 2025
5.0.1 Stable Sep 12, 2025
5.0.0 Stable Aug 18, 2025
5.x-dev Dev Aug 18, 2025
8.x-4.0-beta7 Pre-release Apr 5, 2025
8.x-4.0-beta6 Pre-release Jan 23, 2025