1.20.x cache.inc | BackdropCacheInterface::get(string $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
- includes/
cache.inc, line 262 - Functions and interfaces for cache handling.
Class
- BackdropCacheInterface
- Defines an interface for cache implementations.
Code
function get(string $cid);