public function CacheBackendInterface::invalidateAll in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::invalidateAll()
- 9 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\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()
1 method overrides CacheBackendInterface::invalidateAll()
- MemoryBackend::invalidateAll in core/
lib/ Drupal/ Core/ Cache/ MemoryBackend.php - Marks all cache items as invalid.
File
- core/
lib/ Drupal/ Core/ Cache/ CacheBackendInterface.php, line 205
Class
- CacheBackendInterface
- Defines an interface for cache implementations.
Namespace
Drupal\Core\CacheCode
public function invalidateAll();