Dear all,
I would like to add a
use/login?destination=[current-page-path] menu item, but the item is not generated. The tokens work fine in different user contexts with anyauthenticated user. I don't seem to find any permissions settings that would allow to change that. Should this be a feature request or am I missing something?
Thx
John
Comments
Comment #1
mtcs commentedA simple workaround is to specify the entire URL (https://.../user/login?destination=[current-page-path]).
I guess the bug hides somewhere in function menu_token_translated_menu_link_alter().
Arguments from $item['link_path']) should be stripped before calling menu_get_item().
Comment #2
wickedwookie commentedThanks for answering! I have since used rules for my workaround.
Comment #3
develcuy commented