function LocaleProjectStorage::deleteAll

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

Overrides LocaleProjectStorageInterface::deleteAll

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 deleteAll() {
    $this->keyValueStore
        ->deleteAll();
    $this->resetCache();
}

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