public function LocaleProjectStorage::deleteAll in Drupal 8
Same name and namespace in other branches
- 9 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\localeCode
public function deleteAll() {
$this->keyValueStore
->deleteAll();
$this
->resetCache();
}