You are here

public function UnsavedIndexConfiguration::preprocessIndexItems in Search API 8

Preprocesses data items for indexing.

Lets all enabled processors for this index preprocess the indexed data.

Parameters

\Drupal\search_api\Item\ItemInterface[] $items: An array of items to be preprocessed for indexing.

Overrides IndexInterface::preprocessIndexItems

File

src/UnsavedIndexConfiguration.php, line 424

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

public function preprocessIndexItems(array $items) {
  $this->entity
    ->preprocessIndexItems($items);
}