public function ProcessorPluginBase::getFieldsHelper in Search API 8
Retrieves the fields helper.
Return value
\Drupal\search_api\Utility\FieldsHelperInterface The fields helper.
1 method overrides ProcessorPluginBase::getFieldsHelper()
- SoulMate::getFieldsHelper in tests/
search_api_test_extraction/ src/ Plugin/ search_api/ processor/ SoulMate.php - Retrieves the fields helper.
File
- src/
Processor/ ProcessorPluginBase.php, line 79
Class
- ProcessorPluginBase
- Defines a base class from which other processors may extend.
Namespace
Drupal\search_api\ProcessorCode
public function getFieldsHelper() {
return $this->fieldsHelper ?: \Drupal::service('search_api.fields_helper');
}