Config: write¶
Available since: 1.0.0
Writes into configuration from a token.
Fields¶
Config value-
The value to set.
This field 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]"
Validate YAML to prevent this from being executed when invalidSave configuration-
Save the given config to the Drupal database.
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.