function CachePreWarmerInterface::preWarmOneCache
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/PreWarm/CachePreWarmerInterface.php \Drupal\Core\PreWarm\CachePreWarmerInterface::preWarmOneCache()
Prewarms one PreWarmable service.
Return value
bool TRUE if a cache was prewarmed, FALSE if there was nothing to prewarm.
1 method overrides CachePreWarmerInterface::preWarmOneCache()
- CachePreWarmer::preWarmOneCache in core/
lib/ Drupal/ Core/ PreWarm/ CachePreWarmer.php - Prewarms one PreWarmable service.
File
-
core/
lib/ Drupal/ Core/ PreWarm/ CachePreWarmerInterface.php, line 61
Class
- CachePreWarmerInterface
- Interface for cache prewarmers.
Namespace
Drupal\Core\PreWarmCode
public function preWarmOneCache() : bool;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.