public static Drupal::keyValueExpirable($collection)
Returns an expirable key value store collection.
string $collection: The name of the collection holding key and value pairs.
\Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface An expirable key value store collection.
public static function keyValueExpirable($collection) { return static::getContainer()->get('keyvalue.expirable')->get($collection); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal.php/function/Drupal::keyValueExpirable/8.1.x