MemoryStorage::deleteAll

public MemoryStorage::deleteAll()

Deletes all items from the key/value store.

Overrides KeyValueStoreInterface::deleteAll

File

core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php, line 97

Class

MemoryStorage
Defines a default key/value store implementation.

Namespace

Drupal\Core\KeyValueStore

Code

public function deleteAll() {
  $this->data = array();
}
doc_Drupal
2016-10-29 09:25:52
Comments
Leave a Comment

Please login to continue.