You are here

public function IndexingItemsEvent::getIndex in Search API 8

Retrieves the index on which items will be indexed.

Return value

\Drupal\search_api\IndexInterface The index on which items will be indexed.

File

src/Event/IndexingItemsEvent.php, line 46

Class

IndexingItemsEvent
Wraps an indexing items event.

Namespace

Drupal\search_api\Event

Code

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