Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hi
Please how to use token in the redirect to url?
hi
Please how to use token in the redirect to url?
Comments
Comment #2
Revathi Manohar CreditAttribution: Revathi Manohar as a volunteer and commentedI need some information redirection through coding or ui.
Comment #3
monstrfolk CreditAttribution: monstrfolk commentedAre tokens supported in the redirect to url textfield?
Comment #4
Revathi Manohar CreditAttribution: Revathi Manohar as a volunteer and commentedHi,
Use menu token module.This will replace the url tokens
Comment #5
dev18.addweb CreditAttribution: dev18.addweb at AddWeb Solution Pvt. Ltd. commentedYou can use the token_replace function to use token in redirect url. Please follow the step:
Step 1: add destination url url admin/config/people/login-destination/add
Step 2: In the redirect to page section click on Page returned by this PHP code and write the below code.
For more information refer Token replace.