Add token support for Redirect url field

Created on 5 May 2022, about 2 years ago
Updated 1 February 2023, over 1 year ago

Right now, we can not add tokens in Redirect url field and because of this we cannot have dynamic url.

Steps to Reproduce

  • Go to add/edit node
  • Configure URL redirect section
  • Add redirect url in To field with Tokens
  • Tokens won't get replaced

Proposed Solution

We can inject Token service to RedirectPageByRoleController.php to replace token for To redirect url field

✨ Feature request
Status

Needs review

Version

3.1

Component

Code

Created by

🇮🇳India Chandreshgiri Gauswami

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.

  • First commit to issue fork.
  • @taraskorpach opened merge request.
  • Status changed to Needs review over 1 year ago
  • 🇺🇦Ukraine taraskorpach Lutsk

    Hi @brunoalmeida! I've fixed the Drupal and DrupalPractice standards you mentioned, as well as a few things of my own. I've added a "View available tokens" link to the form to improve the user experience. If you have any questions or comments, feel free to write!

  • Assigned to brunoalmeida
Production build 0.69.0 2024