Implements Drupal\Core\Config\StorageInterface::deleteAll().
Overrides StorageInterface::deleteAll
public function deleteAll($prefix = '') {
// If the cache was the first to be deleted, another process might start
// rebuilding the cache before the storage is renamed.
$cids = $this->storage
->listAll($prefix);
if ($this->storage
->deleteAll($prefix)) {
$this->cache
->deleteMultiple($cids);
return TRUE;
}
return FALSE;
}