You are here

protected property Index::$fieldInstances in Search API 8

An array of field instances.

In the ::preSave method we're saving the contents of these back into the $field_settings array. When adding, removing or changing configuration we should always use these.

Type: \Drupal\search_api\Item\FieldInterface[]|null

File

src/Entity/Index.php, line 143

Class

Index
Defines the search index configuration entity.

Namespace

Drupal\search_api\Entity

Code

protected $fieldInstances;