You are here

public function TestProcessor::preIndexSave in Search API 8

Preprocesses the search index entity before it is saved.

This can, for example, be used to make sure fields needed by this processor are enabled on the index.

Overrides ProcessorPluginBase::preIndexSave

File

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

Class

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

Namespace

Drupal\search_api_test\Plugin\search_api\processor

Code

public function preIndexSave() {
  $this
    ->logMethodCall(__FUNCTION__, func_get_args());
}