public function IndexTaskManagerInterface::stopTracking in Search API 8
Stops tracking for the given index.
Will delete any remaining tracking tasks and also remove all items from tracking for this index.
Parameters
\Drupal\search_api\IndexInterface $index: The search index.
string[]|null $datasource_ids: (optional) The IDs of the datasources for which to stop tracking. Or NULL to stop tracking for all datasources.
1 method overrides IndexTaskManagerInterface::stopTracking()
- IndexTaskManager::stopTracking in src/
Task/ IndexTaskManager.php - Stops tracking for the given index.
File
- src/
Task/ IndexTaskManagerInterface.php, line 71
Class
- IndexTaskManagerInterface
- Defines the interface for the index task manager.
Namespace
Drupal\search_api\TaskCode
public function stopTracking(IndexInterface $index, array $datasource_ids = NULL);