You are here

public function IndexInterface::alterIndexedItems in Search API 8

Alter the items to be indexed.

Lets all enabled processors for this index alter the indexed items.

Parameters

\Drupal\search_api\Item\ItemInterface[] $items: An array of items to be indexed, passed by reference.

2 methods override IndexInterface::alterIndexedItems()
Index::alterIndexedItems in src/Entity/Index.php
Alter the items to be indexed.
UnsavedIndexConfiguration::alterIndexedItems in src/UnsavedIndexConfiguration.php
Alter the items to be indexed.

File

src/IndexInterface.php, line 378

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

public function alterIndexedItems(array &$items);