Skip to content

Token: set value

Plugin ID: eca_token_set_value

Available since: 1.1.0

Define a locally available token by a specific name and value.

Fields

Name of token — config key: token_name

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

Type: textfield · Required: no · Default: empty string

Value of the token — config key: token_value

The value of the token.
This field supports tokens.

Type: textarea · Required: no · Default: empty string

Interpret above value as YAML format — config key: use_yaml

Nested data can be set using YAML format, for example mykey: "My value". When using this format, this option needs to be enabled. When using tokens and YAML altogether, make sure that tokens are wrapped as a string. Example: title: "[node:title]"

Type: checkbox · Required: no · Default: false

Validate YAML to prevent this from being executed when invalid — config key: validate_yaml

Type: checkbox · Required: no · Default: false