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
- drupal/core/modules/views/lib/Drupal/views/ViewsData.php, line 173
- Contains \Drupal\views\ViewsData.
Class
- ViewsData
- Class to manage and lazy load cached views data.
Namespace
Drupal\views
Code
protected function prepareCid($cid) {
return $cid . ':' . $this->langcode;
}