Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CacheBackendInterface.php

function CacheBackendInterface::invalidateAll

Marks all cache items as invalid.

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

See also

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

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

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

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

... See full list

File

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

Class

CacheBackendInterface
Defines an interface for cache implementations.

Namespace

Drupal\Core\Cache

Code

public function invalidateAll();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal