Key value store: write¶
Write a value to the Drupal key value store by the given key.
The collection of the store.
The key of the value in the store.
The value to store.
Interpret above value as YAML format
Nested data can be set using YAML format, for example mykey: "My value". 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]"
Only if new
If enabled, this only stores the value if the key does not exist yet.