You are here

public function IndexingItemsEvent::setItems in Search API 8

Sets the items that will be indexed.

Parameters

\Drupal\search_api\Item\ItemInterface[] $items: The new items that will be indexed.

File

src/Event/IndexingItemsEvent.php, line 66

Class

IndexingItemsEvent
Wraps an indexing items event.

Namespace

Drupal\search_api\Event

Code

public function setItems(array $items) {
  $this->items = $items;
}