1 cache.inc BackdropDatabaseCache::get($cid)

Implements BackdropCacheInterface::get().

Overrides BackdropCacheInterface::get

File

core/includes/cache.inc, line 457
Functions and interfaces for cache handling.

Class

BackdropDatabaseCache
Defines a default cache implementation.

Code

function get($cid) {
  $cids = array($cid);
  $cache = $this->getMultiple($cids);
  return reset($cache);
}