protected UseCacheBackendTrait::cacheGet($cid)
Fetches from the cache backend, respecting the use caches flag.
string $cid: The cache ID of the data to retrieve.
object|false The cache item or FALSE on failure.
\Drupal\Core\Cache\CacheBackendInterface::get()
protected function cacheGet($cid) { if ($this->useCaches && $this->cacheBackend) { return $this->cacheBackend->get($cid); } return FALSE; }
© 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!Core!Cache!UseCacheBackendTrait.php/function/UseCacheBackendTrait::cacheGet/8.1.x