You are here

public function TestTracker::trackAllItemsDeleted in Search API 8

Removes all items from the tracker, or only those of a specific datasource.

Parameters

string|null $datasource_id: (optional) If given, only items of that datasource are removed.

Overrides TrackerInterface::trackAllItemsDeleted

File

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

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 trackAllItemsDeleted($datasource_id = NULL) {
  $this
    ->logMethodCall(__FUNCTION__, func_get_args());
}