Skip to content

Persistent state: write

Writes a value into the Drupal state system by the given key.

Writes a key/value pair to the Drupal state. The value can be stored in a token.

Fields

State key

The key of the Drupal state.

The value of the state

The key, where the value is stored into.

Interpret above config value as YAML format

Nested data can be set using YAML format, for example mykey: myvalue. 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]"


Last update: December 3, 2022 13:32:07