The module extends Flag module by adding possibility to flag any internal urls, eg created via views page display.
Features
Flag Route creates an entity named flag_route. The entity allows to add any internal path. And because it's an entity, it can simply works with Flag, and also can be simply embedded on any page as a block.
Post-Installation
- Create new Flag for Flag Route entity
- Open "/admin/structure/flags/flag-route" in your project
- Add paths for which you would like enable flagging
- Paths are resolved in order: Current Language / Default Language / Not Specified / Not Applicable
-
Add snippet to twig file
{{ drupal_block('flag_route', {flag: 'your_flag_id', label_display: false}) }}
or
use Block Layout to place Flag Route Block
Additional Requirements
- Link module (core)
- Flag module
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Flag ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | Mar 14, 2024 |