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). 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). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). 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.

Flag

30,275 sites Security covered Flag ecosystem
View on drupal.org

The Flag module allows you to add customizable "flags" to content, users, and other entities. These flags can be used for various purposes like bookmarking, marking as important, or flagging as offensive, and can be displayed and managed through Views. You can set up per-user or global flags, and control who can use them based on content type and user roles.

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
10
First release
Jan 2025
Latest release
4 days ago
Releases (12 mo)
8 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Release date
5.1.0-beta2 Pre-release Jul 13, 2026
5.1.0-beta1 Pre-release Apr 5, 2026
5.1.x-dev Dev Apr 5, 2026
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