Lucius Digital: How to set and get data with Drupal’s ‘tempstore’ service | Example code

If you need a temporary buffer in Drupal to save data to, Drupal’s tempstore service might come in handy. We used it for example in a webshop module, where users didn’t have a saved address yet and also had to option to never save their address permanently (because of gdpr).

Go to Source