function ViewsData::prepareCid
Same name and namespace in other branches
- 11.x core/modules/views/src/ViewsData.php \Drupal\views\ViewsData::prepareCid()
Prepares the cache ID by appending a language code.
Parameters
string $cid: The cache ID to prepare.
Return value
string The prepared cache ID.
File
-
core/
modules/ views/ src/ ViewsData.php, line 215
Class
- ViewsData
- Class to manage and lazy load cached views data.
Namespace
Drupal\viewsCode
protected function prepareCid($cid) {
return $cid . ':' . $this->langcode;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.