PrivateTempStore::$expire
Same name in other branches
- 8.9.x core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore::expire
- 10 core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore::expire
- 11.x 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\TempStoreCode
protected $expire;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.