Key value store: read¶
Plugin ID: eca_keyvaluestore_read
Available since: 2.0.0
Reads a value from the Drupal key value store by the given key. The result is stored in a token.
This is the action that can read Drupal's state
Set the collection to state to read Drupal's own state, the store that
\Drupal::state() exposes and that drush state:set writes to. This is the
supported way to pick up a value that Drush, Drupal core, or another module
placed there.
The ECA state plugins do not
reach that store. As their name says, they use the eca collection, which
belongs to ECA alone. Set the collection here to eca to read the values
those plugins write.
Fields¶
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 Name of token— config key:token_name-
The name of the token, the value is stored into. Please provide the token name only, without brackets.
Type:
textfield· Required: no · Default: empty string