public function SoulMate::setFieldsHelper in Search API 8
Sets the fields helper.
Parameters
\Drupal\search_api\Utility\FieldsHelperInterface $fields_helper: The new fields helper.
Return value
$this
Overrides ProcessorPluginBase::setFieldsHelper
File
- tests/
search_api_test_extraction/ src/ Plugin/ search_api/ processor/ SoulMate.php, line 100
Class
- SoulMate
- Adds the user's soul mate node for indexing.
Namespace
Drupal\search_api_test_extraction\Plugin\search_api\processorCode
public function setFieldsHelper(FieldsHelperInterface $fields_helper) {
$this->fieldsHelper = $fields_helper;
return $this;
}