function CacheBackendInterface::invalidateMultiple

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple()
  2. 10 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple()
  3. 11.x core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple()

Marks cache items as invalid.

Invalid items may be returned in later calls to get(), if the $allow_invalid argument is TRUE.

Parameters

string[] $cids: An array of cache IDs to invalidate.

See also

\Drupal\Core\Cache\CacheBackendInterface::deleteMultiple()

\Drupal\Core\Cache\CacheBackendInterface::invalidate()

\Drupal\Core\Cache\CacheBackendInterface::invalidateAll()

7 methods override CacheBackendInterface::invalidateMultiple()
ApcuBackend::invalidateMultiple in core/lib/Drupal/Core/Cache/ApcuBackend.php
Marks cache items as invalid.
BackendChain::invalidateMultiple in core/lib/Drupal/Core/Cache/BackendChain.php
Marks cache items as invalid.
ChainedFastBackend::invalidateMultiple in core/lib/Drupal/Core/Cache/ChainedFastBackend.php
Marks cache items as invalid.
DatabaseBackend::invalidateMultiple in core/lib/Drupal/Core/Cache/DatabaseBackend.php
Marks cache items as invalid.
MemoryBackend::invalidateMultiple in core/lib/Drupal/Core/Cache/MemoryBackend.php
Marks cache items as invalid.

... See full list

File

core/lib/Drupal/Core/Cache/CacheBackendInterface.php, line 193

Class

CacheBackendInterface
Defines an interface for cache implementations.

Namespace

Drupal\Core\Cache

Code

public function invalidateMultiple(array $cids);

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