You are here

public function LocaleProjectStorage::delete in Zircon Profile 8

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

Deletes project records for a given key.

Parameters

string $key: The key of the data to delete.

Overrides LocaleProjectStorageInterface::delete

File

core/modules/locale/src/LocaleProjectStorage.php, line 111
Contains \Drupal\locale\LocaleProjectStorage.

Class

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

Namespace

Drupal\locale

Code

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