Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Flag Route

No security coverage Under active development

Part of the Flag ecosystem · 12 projects

This module allows you to flag any internal Drupal path, including those generated by Views. It creates a new entity type that can be configured to enable flagging for specific URLs and can be displayed as a block on your site.

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

Ask your assistant about Flag Route

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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.

Activity

Tracked releases
1
Tracked since
Mar 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.0-alpha1 Pre-release 9–10 Mar 14, 2024