You are here

protected function TestFieldsProcessorPlugin::processConditionValue in Search API 8

Processes a single condition value.

Called for processing a single condition value. The default implementation just calls process().

Parameters

mixed $value: The condition value to preprocess, as a reference. Can be manipulated directly, nothing has to be returned. Set to an empty string to remove the condition.

Overrides FieldsProcessorPluginBase::processConditionValue

File

tests/src/Unit/Processor/TestFieldsProcessorPlugin.php, line 111

Class

TestFieldsProcessorPlugin
Mimics a processor working on individual fields of items.

Namespace

Drupal\Tests\search_api\Unit\Processor

Code

protected function processConditionValue(&$value) {
  if (isset($this->methodOverrides[__FUNCTION__])) {
    $this->methodOverrides[__FUNCTION__]($value);
    return;
  }
  parent::processConditionValue($value);
}