ViewsData::prepareCid

protected ViewsData::prepareCid($cid)

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 223

Class

ViewsData
Class to manage and lazy load cached views data.

Namespace

Drupal\views

Code

protected function prepareCid($cid) {
  return $cid . ':' . $this->langcode;
}
doc_Drupal
2016-10-29 09:55:00
Comments
Leave a Comment

Please login to continue.