You are here

public function TestProcessor::alterIndexedItems in Search API 8

Alter the items to be indexed.

Parameters

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

Overrides ProcessorPluginBase::alterIndexedItems

File

tests/search_api_test/src/Plugin/search_api/processor/TestProcessor.php, line 52

Class

TestProcessor
Provides a processor with dependencies, for the dependency removal tests.

Namespace

Drupal\search_api_test\Plugin\search_api\processor

Code

public function alterIndexedItems(array &$items) {
  $this
    ->logMethodCall(__FUNCTION__, func_get_args());
}