You are here

public function SearchApiDataSourceControllerInterface::startTracking in Search API 7

Initializes tracking of the index status of items for the given indexes.

All currently known items of this data source's type should be inserted into the tracking table for the given indexes, with status "changed". If items were already present, these should also be set to "changed" and not be inserted again.

Parameters

SearchApiIndex[] $indexes: The SearchApiIndex objects for which item tracking should be initialized.

Throws

SearchApiDataSourceException If any error state was encountered.

1 method overrides SearchApiDataSourceControllerInterface::startTracking()
SearchApiAbstractDataSourceController::startTracking in includes/datasource.inc
Initializes tracking of the index status of items for the given indexes.

File

includes/datasource.inc, line 138
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 startTracking(array $indexes);