Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Menu Link Url Options

No security coverage

This module enhances Drupal's menu links by allowing users to easily add query parameters and URL fragments. This makes it simpler to link to filtered pages or specific sections of a website without manually building the entire URL.

Add query parameters and URL fragments to Drupal menu links without manually editing the full URL.

Menu Link Url Options enhances Drupal's menu link form by allowing site builders to add optional query parameters and URL fragments to menu links.

Select a destination using Drupal's normal route/path autocomplete, then optionally add parameters such as type=abc or a fragment such as section-2.

For example:

/events?type=abc&region=ottawa#section-2

This makes it easier for content editors and site builders to create menu links that target filtered pages, specific sections, or other URL-based functionality without manually constructing the entire URL.

Features

  • Use Drupal's standard menu link destination autocomplete.
  • Add one or more query parameters to a menu link.
  • Add an optional URL fragment/anchor.
  • Keep the destination, query parameters, and fragment separate and easy to edit.
  • Works with existing Drupal menu links.
  • Useful for Views filters, contextual filters, tabs, anchors, and other URL-driven functionality.

Post-Installation

Go to your menu and edit a link. Add the query parameter to the link or/and the frament and you're done. These fields are also translatable so you can set different values for each language.

Supporting this Module

Create an issue for feature/bug fix request. If you want to help maintain it, send me a DM.

Drupal 10–11

Ask your assistant about Menu Link Url Options

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

  • menu_link_content Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Aug 2026
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 10–11 Aug 26, 2026
1.0.0 Stable 10–11 Aug 26, 2026