You are here

public function IndexInterface::getTrackerInstance in Search API 8

Retrieves the tracker plugin.

Return value

\Drupal\search_api\Tracker\TrackerInterface The index's tracker plugin.

Throws

\Drupal\search_api\SearchApiException Thrown if the tracker couldn't be instantiated.

2 methods override IndexInterface::getTrackerInstance()
Index::getTrackerInstance in src/Entity/Index.php
Retrieves the tracker plugin.
UnsavedIndexConfiguration::getTrackerInstance in src/UnsavedIndexConfiguration.php
Retrieves the tracker plugin.

File

src/IndexInterface.php, line 225

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

public function getTrackerInstance();