public MemoryStorage::deleteMultiple(array $keys)
Deletes multiple items from the key/value store.
Parameters
array $keys: A list of item names to delete.
Overrides KeyValueStoreInterface::deleteMultiple
File
- core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php, line 88
Class
- MemoryStorage
- Defines a default key/value store implementation.
Namespace
Drupal\Core\KeyValueStore
Code
public function deleteMultiple(array $keys) { foreach ($keys as $key) { unset($this->data[$key]); } }
Please login to continue.