public function NullStorageExpirable::get in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php \Drupal\Core\KeyValueStore\NullStorageExpirable::get()
Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::get().
Overrides KeyValueStoreInterface::get
File
- lib/
Drupal/ Core/ KeyValueStore/ NullStorageExpirable.php, line 46 - Contains \Drupal\Core\KeyValueStore\NullStorageExpirable.
Class
- NullStorageExpirable
- Defines a null key/value store implementation.
Namespace
Drupal\Core\KeyValueStoreCode
public function get($key, $default = NULL) {
return NULL;
}