You are here

public function FieldInterface::getIndex in Search API 8

Returns the index of this field.

Return value

\Drupal\search_api\IndexInterface The index to which this field belongs.

1 method overrides FieldInterface::getIndex()
Field::getIndex in src/Item/Field.php
Returns the index of this field.

File

src/Item/FieldInterface.php, line 20

Class

FieldInterface
Represents a field on a search item that can be indexed.

Namespace

Drupal\search_api\Item

Code

public function getIndex();