function CachePreWarmer::preWarmAllCaches
Overrides CachePreWarmerInterface::preWarmAllCaches
File
-
core/
lib/ Drupal/ Core/ PreWarm/ CachePreWarmer.php, line 72
Class
- CachePreWarmer
- Prewarms caches for services that implement PreWarmableInterface.
Namespace
Drupal\Core\PreWarmCode
public function preWarmAllCaches() : bool {
$prewarmed = FALSE;
while ($this->preWarmOneCache()) {
$prewarmed = TRUE;
}
return $prewarmed;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.