You are here

public function LocaleProjectStorage::deleteAll in Drupal 9

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

Deletes all projects records.

Return value

array An associative array of items successfully returned, indexed by key.

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();
}