Skip to content

Config: write

Plugin ID: eca_config_write

Available since: 1.0.0

Writes into configuration from a token.

Fields

Config value — config key: config_value

The value to set.
This field supports tokens.

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

Interpret above config value as YAML format — config key: use_yaml

Nested data can be set using YAML format, for example front: /node. 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: front: "[myurl:path]"

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

Save configuration — config key: save_config

Save the given config to the Drupal database.

Type: checkbox · Required: no · Default: false

Config name — config key: config_name

The config name, for example system.site.
This field supports tokens.

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

Config key — config key: config_key

The config key, for example page.front. Leave empty to use the whole config.
This field supports tokens.

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