You are here

public function LocaleProjectStorage::resetCache in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::resetCache()

Resets the project storage cache.

Overrides LocaleProjectStorageInterface::resetCache

1 call to LocaleProjectStorage::resetCache()
LocaleProjectStorage::deleteAll in core/modules/locale/src/LocaleProjectStorage.php
Deletes all projects records.

File

core/modules/locale/src/LocaleProjectStorage.php, line 128
Contains \Drupal\locale\LocaleProjectStorage.

Class

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

Namespace

Drupal\locale

Code

public function resetCache() {
  $this->cache = array();
  static::$all = FALSE;
}