You are here

public function LocaleProjectStorage::delete in Drupal 10

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

File

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

Class

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

Namespace

Drupal\locale

Code

public function delete($key) {
  $this
    ->deleteMultiple([
    $key,
  ]);
}