PrivateTempStore::$expire

Same name in other branches
  1. 9 core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore::expire
  2. 8.9.x core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore::expire
  3. 10 core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore::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/PrivateTempStore.php, line 69

Class

PrivateTempStore
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.