You are here

public function IndexInterface::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

2 methods override IndexInterface::setTracker()
Index::setTracker in src/Entity/Index.php
Sets the tracker the index uses.
UnsavedIndexConfiguration::setTracker in src/UnsavedIndexConfiguration.php
Sets the tracker the index uses.

File

src/IndexInterface.php, line 235

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

public function setTracker(TrackerInterface $tracker);