public function StorageBase::delete in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/KeyValueStore/StorageBase.php \Drupal\Core\KeyValueStore\StorageBase::delete()
- 9 core/lib/Drupal/Core/KeyValueStore/StorageBase.php \Drupal\Core\KeyValueStore\StorageBase::delete()
File
- core/
lib/ Drupal/ Core/ KeyValueStore/ StorageBase.php, line 51
Class
- StorageBase
- Provides a base class for key/value storage implementations.
Namespace
Drupal\Core\KeyValueStoreCode
public function delete($key) {
$this
->deleteMultiple([
$key,
]);
}