You are here

public function DatabaseStorageExpirable::deleteMultiple in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php \Drupal\Core\KeyValueStore\DatabaseStorageExpirable::deleteMultiple()

Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteMultiple().

Overrides DatabaseStorage::deleteMultiple

File

lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php, line 141
Contains \Drupal\Core\KeyValueStore\DatabaseStorageExpirable.

Class

DatabaseStorageExpirable
Defines a default key/value store implementation for expiring items.

Namespace

Drupal\Core\KeyValueStore

Code

public function deleteMultiple(array $keys) {

  // We are already writing to the table, so perform garbage collection at
  // the end of this request.
  $this->needsGarbageCollection = TRUE;
  parent::deleteMultiple($keys);
}