You are here

public function SearchApiDenormalizedEntityDataSourceController::trackItemInsert in Search API Grouping 7.2

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

Parameters

array $item_ids: The IDs of new items to track.

array $indexes: The indexes for which items should be tracked.

Throws

SearchApiDataSourceException If any of the indexes doesn't use the same item type as this controller.

Overrides SearchApiEntityDataSourceController::trackItemInsert

File

includes/datasource_denormalized_entity.inc, line 231
Contains the SearchApiDenormalizedEntityDataSourceController class.

Class

SearchApiDenormalizedEntityDataSourceController
Data source for all entities known to the Entity API.

Code

public function trackItemInsert(array $item_ids, array $indexes) {
  $this
    ->trackItemChange($item_ids, $indexes);
}