protected function FieldsProcessorPluginBase::process in Search API 8
Processes a single string value.
This method is ultimately called for all text by the standard implementation, and does nothing by default.
Parameters
mixed $value: The value to preprocess, as a reference. Can be manipulated directly, nothing has to be returned. Since this can be called for all value types, $value has to remain the same type. The possible types for $value depend on shouldProcess().
See also
\Drupal\search_api\Processor\FieldsProcessorPluginBase::shouldProcess()
3 calls to FieldsProcessorPluginBase::process()
- FieldsProcessorPluginBase::processConditionValue in src/
Processor/ FieldsProcessorPluginBase.php - Processes a single condition value.
- FieldsProcessorPluginBase::processFieldValue in src/
Processor/ FieldsProcessorPluginBase.php - Processes a single text element in a field.
- FieldsProcessorPluginBase::processKey in src/
Processor/ FieldsProcessorPluginBase.php - Processes a single search keyword.
8 methods override FieldsProcessorPluginBase::process()
- HtmlFilter::process in src/
Plugin/ search_api/ processor/ HtmlFilter.php - Processes a single string value.
- IgnoreCase::process in src/
Plugin/ search_api/ processor/ IgnoreCase.php - Processes a single string value.
- IgnoreCharacters::process in src/
Plugin/ search_api/ processor/ IgnoreCharacters.php - Processes a single string value.
- Stemmer::process in src/
Plugin/ search_api/ processor/ Stemmer.php - Processes a single string value.
- Stopwords::process in src/
Plugin/ search_api/ processor/ Stopwords.php - Processes a single string value.
File
- src/
Processor/ FieldsProcessorPluginBase.php, line 595
Class
- FieldsProcessorPluginBase
- Provides a base class for processors that work on individual fields.
Namespace
Drupal\search_api\ProcessorCode
protected function process(&$value) {
}