Expirable key value store: write¶
Plugin ID: eca_keyvalueexpirablestore_write
Available since: 2.0.0
Writes a value to the Drupal expirable key value store by the given key.
Fields¶
Expiration— config key:expires-
The time to live for this item, in seconds.
Type:
number· Required: yes · Default:60 Collection— config key:collection-
The collection of the store.
This field supports tokens.Type:
textfield· Required: no · Default: empty string Store key— config key:key-
The key of the value in the store.
This field supports tokens.Type:
textfield· Required: no · Default: empty string Value— config key:value-
The value to store.
Type:
textarea· Required: no · Default: empty string Interpret above value as YAML format— config key:use_yaml-
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]"
Type:
checkbox· Required: no · Default:false Validate YAML to prevent this from being executed when invalid— config key:validate_yaml-
Type:
checkbox· Required: no · Default:false Only if new— config key:ifnotexists-
If enabled, this only stores the value if the key does not exist yet.
Type:
checkbox· Required: no · Default:false