Skip to content

Persistent state: write

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

Fields

State key
Value of the token
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: August 6, 2022 09:51:32