Persistent state: write¶
Available since: 1.1.0
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.
This field supports tokens. The value of the state
-
The key, where the value is stored into.
This field supports tokens. 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]"