Skip to content

Token: load route parameter

Available since: 1.0.0

Loads a route parameter into the token environment.

Fields

Request

The request route match.
When using the "Defined by token" option, make sure there is a token with this name: eca_token_load_route_param_request

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. Please provide the token name only, without brackets.