You are here

protected function SearchApiAbstractProcessor::processKey in Search API 7

Called for processing a single search keyword. The default implementation just calls process().

$value can either be left a string, or be changed into a nested keys array, as defined by SearchApiQueryInterface.

1 call to SearchApiAbstractProcessor::processKey()
SearchApiAbstractProcessor::processKeys in includes/processor.inc
Method for preprocessing search keys.

File

includes/processor.inc, line 445
Contains SearchApiProcessorInterface and SearchApiAbstractProcessor.

Class

SearchApiAbstractProcessor
Abstract processor implementation that provides an easy framework for only processing specific fields.

Code

protected function processKey(&$value) {
  $this
    ->process($value);
}