public function 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::invalidateTags()

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

4 methods override CacheBackendInterface::invalidateMultiple()
BackendChain::invalidateMultiple in drupal/core/lib/Drupal/Core/Cache/BackendChain.php
Implements Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().
DatabaseBackend::invalidateMultiple in drupal/core/lib/Drupal/Core/Cache/DatabaseBackend.php
Implements Drupal\Core\Cache\CacheBackendInterface::invalideMultiple().
MemoryBackend::invalidateMultiple in drupal/core/lib/Drupal/Core/Cache/MemoryBackend.php
Implements Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().
NullBackend::invalidateMultiple in drupal/core/lib/Drupal/Core/Cache/NullBackend.php
Implements Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().

File

drupal/core/lib/Drupal/Core/Cache/CacheBackendInterface.php, line 261
Definition of Drupal\Core\Cache\CacheBackendInterface.

Class

CacheBackendInterface
Defines an interface for cache implementations.

Namespace

Drupal\Core\Cache

Code

public function invalidateMultiple(array $cids);