I'm trying to have a tour start automatically in Drupal 8. If I type in ?tour=1 after the path in the url of the browser it works fine. However, trying to do that by adding in ?tour=1 in the routing.yml file and Drupal 8 converts the ? and = to escaped character strings which don't work at all. I looked around but didn't see any reference to what could be put in the routing.yml file get the proper characters to show up in the url being generated. Does anyone know the answer?

Comments

petu’s picture

Here is a solution.