function PhpBackend::deleteMultiple

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/PhpBackend.php \Drupal\Core\Cache\PhpBackend::deleteMultiple()
  2. 10 core/lib/Drupal/Core/Cache/PhpBackend.php \Drupal\Core\Cache\PhpBackend::deleteMultiple()
  3. 11.x core/lib/Drupal/Core/Cache/PhpBackend.php \Drupal\Core\Cache\PhpBackend::deleteMultiple()

Overrides CacheBackendInterface::deleteMultiple

File

core/lib/Drupal/Core/Cache/PhpBackend.php, line 170

Class

PhpBackend
Defines a PHP cache implementation.

Namespace

Drupal\Core\Cache

Code

public function deleteMultiple(array $cids) {
    foreach ($cids as $cid) {
        $this->delete($cid);
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.