function 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\PreWarm

Code

public function preWarmOneCache() : bool;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.