function ViewsData::cacheGet
Same name in other branches
- 9 core/modules/views/src/ViewsData.php \Drupal\views\ViewsData::cacheGet()
- 8.9.x core/modules/views/src/ViewsData.php \Drupal\views\ViewsData::cacheGet()
- 11.x core/modules/views/src/ViewsData.php \Drupal\views\ViewsData::cacheGet()
Gets data from the cache backend.
Parameters
string $cid: The cache ID to return.
Return value
mixed The cached data.
2 calls to ViewsData::cacheGet()
- ViewsData::get in core/
modules/ views/ src/ ViewsData.php - Gets data for a particular table.
- ViewsData::getData in core/
modules/ views/ src/ ViewsData.php - Gets all data invoked by hook_views_data().
File
-
core/
modules/ views/ src/ ViewsData.php, line 182
Class
- ViewsData
- Class to manage and lazy load cached views data.
Namespace
Drupal\viewsCode
protected function cacheGet($cid) {
return $this->cacheBackend
->get($this->prepareCid($cid));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.