Skip to content

Expirable key value store: write

Writes a value to the Drupal expirable key value store by the given key.



The collection of the store.

Store key

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.


The time to live for this item, in seconds.

Last update: February 5, 2023 15:10:36