If destination is empty, automatically return to current page

Created on 31 March 2018, about 6 years ago
Updated 7 November 2023, 8 months ago

I currently create my own menu with aliased URLs to the themes I use. For example:

Menu item: Blue
Location: theme/blue

However, this will result in returning to the homepage with the theme applied. I could use menu tokens via a custom module and have it be theme/blue?destination=current/page but this will not result in a clean looking URL.

So would it be possible to change the behaviour to return to the current page, if destination is not filled in?

✨ Feature request
Status

Closed: outdated

Version

2.1

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024