You are here

public function Item::getIndex in Search API 8

Returns the index of this item.

Return value

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

Overrides ItemInterface::getIndex

File

src/Item/Item.php, line 169

Class

Item
Provides a default implementation for a search item.

Namespace

Drupal\search_api\Item

Code

public function getIndex() {
  return $this->index;
}