public function IndexInterface::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.
2 methods override IndexInterface::preprocessIndexItems()
- Index::preprocessIndexItems in src/
Entity/ Index.php - Preprocesses data items for indexing.
- UnsavedIndexConfiguration::preprocessIndexItems in src/
UnsavedIndexConfiguration.php - Preprocesses data items for indexing.
File
- src/
IndexInterface.php, line 388
Class
- IndexInterface
- Defines the interface for index entities.
Namespace
Drupal\search_apiCode
public function preprocessIndexItems(array $items);