protected LocaleLookup::getCid()
Gets the cache ID.
Return value
string
Overrides CacheCollector::getCid
File
core/modules/locale/src/LocaleLookup.php, line 109
Class
LocaleLookup A cache collector to allow for dynamic building of the locale cache.
Namespace
Drupal\locale
Code
protected function getCid() {
if (!isset($this->cid)) {
// Add the current user's role IDs to the cache key, this ensures that,
// for example, strings for admin menu items and settings forms are no