You are here

public function UnsavedIndexConfiguration::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.

Overrides IndexInterface::getTrackerInstance

File

src/UnsavedIndexConfiguration.php, line 314

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

public function getTrackerInstance() {
  return $this->entity
    ->getTrackerInstance();
}