You are here

public function SearchApiDataSourceControllerInterface::trackItemDelete in Search API 7

Stops tracking the index status for the given items on the given indexes.

Parameters

array $item_ids: The IDs of the removed items.

SearchApiIndex[] $indexes: The indexes for which the deletions should be tracked.

Return value

SearchApiIndex[]|null All indexes for which any items were deleted; or NULL if items were deleted for all of them.

Throws

SearchApiDataSourceException If any error state was encountered.

1 method overrides SearchApiDataSourceControllerInterface::trackItemDelete()
SearchApiAbstractDataSourceController::trackItemDelete in includes/datasource.inc
Stops tracking the index status for the given items on the given indexes.

File

includes/datasource.inc, line 245
Contains the SearchApiDataSourceControllerInterface as well as a default base class.

Class

SearchApiDataSourceControllerInterface
Interface for all data source controllers for Search API indexes.

Code

public function trackItemDelete(array $item_ids, array $indexes);