public function KeyValueStoreInterface::delete in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/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 core/
lib/ Drupal/ Core/ KeyValueStore/ NullStorageExpirable.php - Deletes an item from the key/value store.
- StorageBase::delete in core/
lib/ Drupal/ Core/ KeyValueStore/ StorageBase.php - Deletes an item from the key/value store.
File
- core/
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);