Skip to content

Build URL from route

Available since: 3.1.3

Builds a URL from a route name, parameters and options.

Fields

Route name

Example: entity.node.canonical
This field supports tokens.

Route parameters

Enter a key-value list of parameters. Supports YAML format. Example:
node: 1
. When using tokens and YAML altogether, make sure that tokens are wrapped as a string. Example: node: "[node:nid]"
This field supports tokens.

Additional options

Enter a key-value list of options. Supports YAML format. Use dot notation for nested arrays. Example:

query:
  foo: bar
fragment: comments
When using tokens and YAML altogether, make sure that tokens are wrapped as a string. Example: fragment: "[node:nid]"
This field supports tokens.
Generate absolute URL

Check this to always generate an absolute URL (with scheme and host).

Name of token

Provide the name of a token where the generated URL should be stored. Please provide the token name only, without brackets.