You are here

public function ProcessorPluginBase::setFieldsHelper in Search API 8

Sets the fields helper.

Parameters

\Drupal\search_api\Utility\FieldsHelperInterface $fields_helper: The new fields helper.

Return value

$this

1 method overrides ProcessorPluginBase::setFieldsHelper()
SoulMate::setFieldsHelper in tests/search_api_test_extraction/src/Plugin/search_api/processor/SoulMate.php
Sets the fields helper.

File

src/Processor/ProcessorPluginBase.php, line 91

Class

ProcessorPluginBase
Defines a base class from which other processors may extend.

Namespace

Drupal\search_api\Processor

Code

public function setFieldsHelper(FieldsHelperInterface $fields_helper) {
  $this->fieldsHelper = $fields_helper;
  return $this;
}