This module allows administrators to configure flags to show a confirmation prompt only under specific conditions, such as requiring confirmation for unflagging content but not for flagging it.
This module adds a "Conditional Confirm Form" link type for Flags. This
allows administrative users to set Flags to use the Confirm form only
under certain conditions.
For example, and administrator could set a Flag to require confirmation
when unflagging content but not when flagging.
The administrator will have this additional setting when configuring
the flag:
If "Custom condition" is selected, then the module will look for
implementations of hook_flag_conditional_confirm_confirmation_required().
If this function returns TRUE, the Confirm form will be shown.
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
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.1.2 | Stable | 8–11 | Compatibility with Flag module | Feb 13, 2025 |