SharedTempStore::$expire
Same name in other branches
- 8.9.x core/lib/Drupal/Core/TempStore/SharedTempStore.php \Drupal\Core\TempStore\SharedTempStore::expire
- 10 core/lib/Drupal/Core/TempStore/SharedTempStore.php \Drupal\Core\TempStore\SharedTempStore::expire
- 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 86
Class
- SharedTempStore
- Stores and retrieves temporary data for a given owner.
Namespace
Drupal\Core\TempStoreCode
protected $expire;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.