function LocaleProjectStorage::deleteMultiple
Same name in other branches
- 9 core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::deleteMultiple()
- 8.9.x core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::deleteMultiple()
- 10 core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::deleteMultiple()
1 call to LocaleProjectStorage::deleteMultiple()
- LocaleProjectStorage::delete in core/
modules/ locale/ src/ LocaleProjectStorage.php
File
-
core/
modules/ locale/ src/ LocaleProjectStorage.php, line 121
Class
- LocaleProjectStorage
- Provides the locale project storage system using a key value store.
Namespace
Drupal\localeCode
public function deleteMultiple(array $keys) {
foreach ($keys as $key) {
$this->cache[$key] = NULL;
}
$this->keyValueStore
->deleteMultiple($keys);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.