You are here

public function SitemapWarmer::warmMultiple in Warmer 8

Same name and namespace in other branches
  1. 2.x modules/warmer_cdn/src/Plugin/warmer/SitemapWarmer.php \Drupal\warmer_cdn\Plugin\warmer\SitemapWarmer::warmMultiple()

Warms multiple items.

Parameters

array $items: The items to warm.

Return value

int The number of items that were successfully warmed.

Overrides WarmerInterface::warmMultiple

File

modules/warmer_cdn/src/Plugin/warmer/SitemapWarmer.php, line 93

Class

SitemapWarmer
The cache warmer for the built-in entity cache.

Namespace

Drupal\warmer_cdn\Plugin\warmer

Code

public function warmMultiple(array $items = []) {
  return $this
    ->cdnWarmer()
    ->warmMultiple($items);
}