function LocaleProjectRepository::deleteMultiple
Same name and namespace in other branches
- 11.x core/modules/locale/src/LocaleProjectRepository.php \Drupal\locale\LocaleProjectRepository::deleteMultiple()
Deletes multiple project records.
Parameters
array $keys: A list of item names to delete.
File
-
core/
modules/ locale/ src/ LocaleProjectRepository.php, line 111
Class
- LocaleProjectRepository
- Provides storage and rebuilding of locale project information.
Namespace
Drupal\localeCode
public function deleteMultiple(array $keys) : void {
$this->keyValueFactory
->get('locale.project')
->deleteMultiple($keys);
$this->memoryCache
->delete('locale_get_projects');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.