public function KeyValueStoreInterface::delete in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::delete()
Deletes an item from the key/value store.
Parameters
string $key: The item name to delete.
2 methods override KeyValueStoreInterface::delete()
- NullStorageExpirable::delete in lib/
Drupal/ Core/ KeyValueStore/ NullStorageExpirable.php - Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::delete().
- StorageBase::delete in lib/
Drupal/ Core/ KeyValueStore/ StorageBase.php - Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::delete().
File
- lib/
Drupal/ Core/ KeyValueStore/ KeyValueStoreInterface.php, line 115 - Contains \Drupal\Core\KeyValueStore\KeyValueStoreInterface.
Class
- KeyValueStoreInterface
- Defines the interface for key/value store implementations.
Namespace
Drupal\Core\KeyValueStoreCode
public function delete($key);