You are here

public function TrackerInterface::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.

2 methods override TrackerInterface::trackAllItemsDeleted()
Basic::trackAllItemsDeleted in src/Plugin/search_api/tracker/Basic.php
Removes all items from the tracker, or only those of a specific datasource.
TestTracker::trackAllItemsDeleted in tests/search_api_test/src/Plugin/search_api/tracker/TestTracker.php
Removes all items from the tracker, or only those of a specific datasource.

File

src/Tracker/TrackerInterface.php, line 71

Class

TrackerInterface
Defines an interface for index tracker plugins.

Namespace

Drupal\search_api\Tracker

Code

public function trackAllItemsDeleted($datasource_id = NULL);