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

Returns data from the persistent cache.

Data may be stored as either plain text or as serialized data. cache()->get() will automatically return unserialized objects and arrays.

Parameters

string $cid: The cache ID of the data to retrieve.

Return value

The cache or FALSE on failure.

File

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

Class

BackdropCacheInterface
Defines an interface for cache implementations.

Code

function get($cid);