Can't alter links within an Ultimenu

Created on 20 September 2023, about 1 year ago
Updated 16 June 2024, 5 months ago

Problem/Motivation

I am trying to alter all links on every page by adding a query parameter, E.g. hello=world. I have tried two different ways, using hook_link_alter and implementing OutboundPathProcessorInterface. I can successfully alter all of the links on a page EXCEPT for the links within the Ultimenu.

I'm not sure why these links would be different or what would prevent me from altering them.

Steps to reproduce

I used link below as example to implement the OutboundPathProcessorInterface.

https://www.drupal.org/forum/support/post-installation/2019-06-07/add-ur...

💬 Support request
Status

Fixed

Version

2.11

Component

Code

Created by

🇺🇸United States jonaskills

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jonaskills
  • 🇮🇩Indonesia gausarts

    Thank you.

    I don't understand what you are trying to do. That thread didn't give me info on what you actually did :)

    Please provide exact steps to reproduce your issues.

    Changed to Supports since it is your custom works, and this module has its own implementation that may not always satisfy your custom expectations.

  • Status changed to Fixed 6 months ago
  • 🇮🇩Indonesia gausarts

    2.x was retired.
    3.x was out with some mobile fixes.

    Feel free to re-open if still an issue. Be sure to mark it 3.x.

    Thank you.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024