function 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 114  
Class
- LocaleProjectStorage
 - Provides the locale project storage system using a key value store.
 
Namespace
Drupal\localeCode
public function delete($key) {
  $this->deleteMultiple([
    $key,
  ]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.