You are here

protected property Index::$trackerInstance in Search API 8

The tracker plugin instance.

In the ::preSave method we're saving the contents of these back into the $tracker_settings array. When adding, removing or changing configuration we should therefore always manipulate this property instead of the stored one.

Type: \Drupal\search_api\Tracker\TrackerInterface|null

See also

getTrackerInstance()

File

src/Entity/Index.php, line 217

Class

Index
Defines the search index configuration entity.

Namespace

Drupal\search_api\Entity

Code

protected $trackerInstance;