protected property TempStore::$expire

The time to live for items in seconds.

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

@todo Currently, this property is not exposed anywhere, and so the only way to override it is by extending the class.

Type: int

File

drupal/core/modules/user/lib/Drupal/user/TempStore.php, line 74
Contains Drupal\user\TempStore.

Class

TempStore
Stores and retrieves temporary data for a given owner.

Namespace

Drupal\user

Code

protected $expire = 604800;