Skip to content

Config: write

Writes into configuration from a token.

Fields

Config name

The config name, for example system.site.

Config key

The config key, for example page.front. Leave empty to use the whole config.

Config value

The value to set. Supports tokens.

Interpret above config value as YAML format

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]"

Save configuration

Save the given config to the Drupal database.


Last update: August 6, 2022 13:22:01