You are here

public function ItemsIndexedEvent::getIndex in Search API 8

Retrieves the index that indexed the items.

Return value

\Drupal\search_api\IndexInterface The used index.

File

src/Event/ItemsIndexedEvent.php, line 46

Class

ItemsIndexedEvent
Wraps an items indexed event.

Namespace

Drupal\search_api\Event

Code

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