function CacheBackendInterface::invalidateAll
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::invalidateAll()
- 10 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()
- 8.9.x 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.
Deprecated
in drupal:11.2.0 and is removed from drupal:12.0.0. Use CacheBackendInterface::deleteAll() or cache tag invalidation instead.
See also
https://www.drupal.org/node/3500622
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheBackendInterface.php, line 204
Class
- CacheBackendInterface
- Defines an interface for cache implementations.
Namespace
Drupal\Core\CacheCode
public function invalidateAll();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.