Flag
The Flag module allows you to define a boolean toggle field and attach it to a node, comment, user, or any entity type. You may define as many of these 'flags' as your site requires. By default, flags are per-user. This means any user with the proper permission may chose to flag the entity.
For a full description of the module, visit the project page.
Submit bug reports and feature suggestions, or track changes in the issue queue.
Table of contents
- Requirements
- Installation
- Configuration
- Support requests
- Maintainers
Requirements
This module requires no modules outside of Drupal core.
Installation
Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.
Configuration
Configuration of Flag module involves creating one or more flags.
- Go to Admin > Structure > Flags, and click "Add flag".
- Select the target entity type, and click "Continue".
- Enter the flag link text, link type, and any other options.
- Click "Save Flag".
- Under Admin > People, configure the permissions for each Flag.
Once you are finished creating flags, you may choose to use Views to leverage your new flags.
Customize the flag link
You can
customize the mark up
via the templates/flag.html.twig
file, or change the look and behaviour of the
flag link with CSS, for example adding an icon.
Support requests
Before posting a support request, check Recent log entries at admin/reports/dblog
Once you have done this, you can post a support request at module issue queue: https://www.drupal.org/project/issues/flag
When posting a support request, please inform what does the status report say at admin/reports/dblog and if you were able to see any errors in Recent log entries.
Maintainers
- Joachim Noreiko - joachim
- Nate Lampton - quicksketch
- Tess - socketwench
- Sascha Grossenbacher - Berdir
- Earl Miles - merlinofchaos
- mooffie - mooffie
- Wolfgang Ziegler - fago
- Sebastian Siemssen - fubhy
- Shabana Navas - shabana.navas
- Andrei Ivnitskii - Ivnish