You are here

public function TestProcessor::postprocessSearchResults in Search API 8

Postprocess search results before they are returned by the query.

If a processor is used for both pre- and post-processing a search query, the same object will be used for both calls (so preserving some data or state locally is possible).

Parameters

\Drupal\search_api\Query\ResultSetInterface $results: The search results.

Overrides ProcessorPluginBase::postprocessSearchResults

File

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

Class

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

Namespace

Drupal\search_api_test\Plugin\search_api\processor

Code

public function postprocessSearchResults(ResultSetInterface $results) {
  $this
    ->logMethodCall(__FUNCTION__, func_get_args());
}