Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Flag

29,565 sites Security covered Drupal 10–11 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

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

11 tracked projects depend on this one

Activity

Tracked releases
10
Tracked since
Jan 2025
Latest release
1 month ago
Releases (12 mo)
6 ▲ from 4
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
5.1.0-beta2 Pre-release 10–11 Jul 13, 2026
5.1.0-beta1 Pre-release 10–11 Apr 5, 2026
5.1.x-dev Dev 10–11 Apr 5, 2026
5.0.3 Stable 10–11 Oct 27, 2025
5.0.2 Stable 10–11 Oct 17, 2025
5.0.1 Stable 10–11 Sep 12, 2025
5.0.0 Stable 10–11 Aug 18, 2025
5.x-dev Dev 10–11 Aug 18, 2025
8.x-4.0-beta7 Pre-release 10–11 Apr 5, 2025
8.x-4.0-beta6 Pre-release 10–11 Jan 23, 2025