function LocaleProjectStorage::resetCache

Same name in other branches
  1. 9 core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::resetCache()
  2. 8.9.x core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::resetCache()
  3. 10 core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::resetCache()
1 call to LocaleProjectStorage::resetCache()
LocaleProjectStorage::deleteAll in core/modules/locale/src/LocaleProjectStorage.php

File

core/modules/locale/src/LocaleProjectStorage.php, line 131

Class

LocaleProjectStorage
Provides the locale project storage system using a key value store.

Namespace

Drupal\locale

Code

public function resetCache() {
    $this->cache = [];
    $this->sorted = $this->all = FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.