protected function TestFieldsProcessorPlugin::processKey in Search API 8
Processes a single search keyword.
The default implementation just calls process().
Parameters
string $value: The string value to preprocess, as a reference. Can be manipulated directly, nothing has to be returned. Can either be left a string, or be changed into a nested keys array, as defined by \Drupal\search_api\ParseMode\ParseModeInterface::parseInput().
Overrides FieldsProcessorPluginBase::processKey
File
- tests/
src/ Unit/ Processor/ TestFieldsProcessorPlugin.php, line 100
Class
- TestFieldsProcessorPlugin
- Mimics a processor working on individual fields of items.
Namespace
Drupal\Tests\search_api\Unit\ProcessorCode
protected function processKey(&$value) {
if (isset($this->methodOverrides[__FUNCTION__])) {
$this->methodOverrides[__FUNCTION__]($value);
return;
}
parent::processKey($value);
}