You are here

public function ChainedStorage::deleteMultiple in Supercache 8

Same name and namespace in other branches
  1. 2.0.x src/KeyValueStore/ChainedStorage.php \Drupal\supercache\KeyValueStore\ChainedStorage::deleteMultiple()

Deletes multiple items from the key/value store.

Parameters

array $keys: A list of item names to delete.

Overrides DatabaseStorage::deleteMultiple

File

src/KeyValueStore/ChainedStorage.php, line 139
Contains \Drupal\supercache\KeyValueStore\ChainedStorage;

Class

ChainedStorage
Defines a chained key value storage that uses any cache backend on top of the database default key/value storage.

Namespace

Drupal\supercache\KeyValueStore

Code

public function deleteMultiple(array $keys) {
  parent::deleteMultiple($keys);
  $this->cache
    ->deleteMultiple($keys);
}