public function Index::setTracker in Search API 8
Sets the tracker the index uses.
Parameters
\Drupal\search_api\Tracker\TrackerInterface $tracker: The new tracker for the index.
Return value
$this
Overrides IndexInterface::setTracker
File
- src/
Entity/ Index.php, line 470
Class
- Index
- Defines the search index configuration entity.
Namespace
Drupal\search_api\EntityCode
public function setTracker(TrackerInterface $tracker) {
$this->trackerInstance = $tracker;
return $this;
}