Search for preWarm

  1. Search 7.x for preWarm
  2. Search 9.5.x for preWarm
  3. Search 8.9.x for preWarm
  4. Search 10.3.x for preWarm
  5. Other projects
Title Object type File name Summary
CachePreWarmer class core/lib/Drupal/Core/PreWarm/CachePreWarmer.php Prewarms caches for services that implement PreWarmableInterface.
CachePreWarmer.php file core/lib/Drupal/Core/PreWarm/CachePreWarmer.php
CachePreWarmer::$needsPreWarming property core/lib/Drupal/Core/PreWarm/CachePreWarmer.php Whether to prewarm caches at the end of the request.
CachePreWarmer::preWarmAllCaches function core/lib/Drupal/Core/PreWarm/CachePreWarmer.php
CachePreWarmer::preWarmOneCache function core/lib/Drupal/Core/PreWarm/CachePreWarmer.php
CachePreWarmer::__construct function core/lib/Drupal/Core/PreWarm/CachePreWarmer.php
CachePreWarmerInterface interface core/lib/Drupal/Core/PreWarm/CachePreWarmerInterface.php Interface for cache prewarmers.
CachePreWarmerInterface.php file core/lib/Drupal/Core/PreWarm/CachePreWarmerInterface.php
CachePreWarmerInterface::preWarmAllCaches function core/lib/Drupal/Core/PreWarm/CachePreWarmerInterface.php Prewarms all PreWarmable services.
CachePreWarmerInterface::preWarmOneCache function core/lib/Drupal/Core/PreWarm/CachePreWarmerInterface.php Prewarms one PreWarmable service.
CachePreWarmerTest class core/tests/Drupal/Tests/Core/PreWarm/CachePreWarmerTest.php @coversDefaultClass \Drupal\Core\PreWarm\CachePreWarmer
@group PreWarm
CachePreWarmerTest.php file core/tests/Drupal/Tests/Core/PreWarm/CachePreWarmerTest.php
CachePreWarmerTest::$classResolver property core/tests/Drupal/Tests/Core/PreWarm/CachePreWarmerTest.php
CachePreWarmerTest::$warmedMap property core/tests/Drupal/Tests/Core/PreWarm/CachePreWarmerTest.php
CachePreWarmerTest::setupCacheServices function core/tests/Drupal/Tests/Core/PreWarm/CachePreWarmerTest.php
CachePreWarmerTest::testNoServices function core/tests/Drupal/Tests/Core/PreWarm/CachePreWarmerTest.php
CachePreWarmerTest::testPreWarmAll function core/tests/Drupal/Tests/Core/PreWarm/CachePreWarmerTest.php @covers ::preWarmAllCaches
CachePreWarmerTest::testPreWarmByOne function core/tests/Drupal/Tests/Core/PreWarm/CachePreWarmerTest.php @covers ::preWarmOneCache
CachePreWarmerTest::testPreWarmOnlyOne function core/tests/Drupal/Tests/Core/PreWarm/CachePreWarmerTest.php @covers ::preWarmOneCache
EntityFieldManager::preWarm function core/lib/Drupal/Core/Entity/EntityFieldManager.php Build any cache item or items that this service relies on.
PreWarmableInterface interface core/lib/Drupal/Core/PreWarm/PreWarmableInterface.php Interface for services with prewarmable caches.
PreWarmableInterface.php file core/lib/Drupal/Core/PreWarm/PreWarmableInterface.php
PreWarmableInterface::preWarm function core/lib/Drupal/Core/PreWarm/PreWarmableInterface.php Build any cache item or items that this service relies on.
PreWarmablePluginManagerTrait trait core/lib/Drupal/Core/Plugin/PreWarmablePluginManagerTrait.php Provides a trait for Drupal\Core\PreWarm\PreWarmableInterface.
PreWarmablePluginManagerTrait.php file core/lib/Drupal/Core/Plugin/PreWarmablePluginManagerTrait.php
PreWarmablePluginManagerTrait::preWarm function core/lib/Drupal/Core/Plugin/PreWarmablePluginManagerTrait.php Implements \Drupal\Core\PreWarm\PreWarmableInterface.
PreWarmerTest class core/tests/Drupal/KernelTests/Core/PreWarm/PreWarmerTest.php Tests the cache prewarmer.
PreWarmerTest.php file core/tests/Drupal/KernelTests/Core/PreWarm/PreWarmerTest.php
PreWarmerTest::testPreWarmAllCaches function core/tests/Drupal/KernelTests/Core/PreWarm/PreWarmerTest.php Tests prewarming all caches.
PreWarmerTest::testPreWarmOneCache function core/tests/Drupal/KernelTests/Core/PreWarm/PreWarmerTest.php Tests prewarming one cache at a time.

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