You are here

public function LocaleProjectStorage::deleteAll in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 136
Contains \Drupal\locale\LocaleProjectStorage.

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