You are here

public function TestTracker::getRemainingItems in Search API 8

Retrieves a list of item IDs that need to be indexed.

Parameters

int $limit: (optional) The maximum number of items to return. Or a negative value to return all remaining items.

string|null $datasource_id: (optional) If specified, only items of the datasource with that ID are retrieved.

Return value

string[] The IDs of items that still need to be indexed.

Overrides TrackerInterface::getRemainingItems

File

tests/search_api_test/src/Plugin/search_api/tracker/TestTracker.php, line 93

Class

TestTracker
Provides a tracker implementation which uses a FIFO-like processing order.

Namespace

Drupal\search_api_test\Plugin\search_api\tracker

Code

public function getRemainingItems($limit = -1, $datasource_id = NULL) {
  $this
    ->logMethodCall(__FUNCTION__, func_get_args());
  return [];
}