Skip to content

Token: load route parameter

Loads a route parameter into the token environment.

Fields

Request

The request route match.

Name of route parameter

The routes and their parameters can be found in the MODULE.routing.yml file. Example for the route entity.node.preview: /node/preview/{node_preview}/{view_mode_id} where node_preview and view_mode_id are the parameter names.

Name of token

The name of the token, the parameter value gets stored into.


Last update: January 28, 2023 13:50:53