SharedTempStore::$expire

Same name in other branches
  1. 9 core/lib/Drupal/Core/TempStore/SharedTempStore.php \Drupal\Core\TempStore\SharedTempStore::expire
  2. 10 core/lib/Drupal/Core/TempStore/SharedTempStore.php \Drupal\Core\TempStore\SharedTempStore::expire
  3. 11.x core/lib/Drupal/Core/TempStore/SharedTempStore.php \Drupal\Core\TempStore\SharedTempStore::expire

The time to live for items in seconds.

By default, data is stored for one week (604800 seconds) before expiring.

Type: int

File

core/lib/Drupal/Core/TempStore/SharedTempStore.php, line 78

Class

SharedTempStore
Stores and retrieves temporary data for a given owner.

Namespace

Drupal\Core\TempStore

Code

protected $expire;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.