You are here

public function LocaleProjectStorage::deleteMultiple in Drupal 10

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

File

core/modules/locale/src/LocaleProjectStorage.php, line 113

Class

LocaleProjectStorage
Provides the locale project storage system using a key value store.

Namespace

Drupal\locale

Code

public function deleteMultiple(array $keys) {
  foreach ($keys as $key) {
    $this->cache[$key] = NULL;
  }
  $this->keyValueStore
    ->deleteMultiple($keys);
}