You are here

public function SitemapWarmer::loadMultiple in Warmer 2.x

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

Loads multiple items based on their IDs.

Parameters

array: The item IDs.

Return value

array The loaded items.

Overrides WarmerInterface::loadMultiple

File

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

Class

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

Namespace

Drupal\warmer_cdn\Plugin\warmer

Code

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