Skip to content

Shared temporary store: write

Available since: 2.0.0

Write a value to the Drupal shared temporary 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]"