public function UnsavedIndexConfiguration::trackItemsUpdated in Search API 8
Updates items from a specific datasource present in the index.
Note that this method receives datasource-specific item IDs as the parameter, not containing the datasource prefix.
Parameters
string $datasource_id: The ID of the datasource to which the items belong.
array $ids: An array of datasource-specific item IDs.
Overrides IndexInterface::trackItemsUpdated
File
- src/
UnsavedIndexConfiguration.php, line 585
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function trackItemsUpdated($datasource_id, array $ids) {
$this->entity
->trackItemsUpdated($datasource_id, $ids);
}