This project is not covered by Drupal’s security advisory policy.

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

Project information

Releases