You are here

public function WarmerInterface::buildIdsBatch in Warmer 8

Same name and namespace in other branches
  1. 2.x src/Plugin/WarmerInterface.php \Drupal\warmer\Plugin\WarmerInterface::buildIdsBatch()

Builds the next batch of IDs based on a position cursor.

Parameters

mixed $cursor: The position of the last generate batch.

Return value

array The array of item IDs.

3 methods override WarmerInterface::buildIdsBatch()
CdnWarmer::buildIdsBatch in modules/warmer_cdn/src/Plugin/warmer/CdnWarmer.php
Builds the next batch of IDs based on a position cursor.
EntityWarmer::buildIdsBatch in modules/warmer_entity/src/Plugin/warmer/EntityWarmer.php
TODO: This is a naive implementation.
SitemapWarmer::buildIdsBatch in modules/warmer_cdn/src/Plugin/warmer/SitemapWarmer.php
Builds the next batch of IDs based on a position cursor.

File

src/Plugin/WarmerInterface.php, line 56

Class

WarmerInterface

Namespace

Drupal\warmer\Plugin

Code

public function buildIdsBatch($cursor);