You are here

public function BackendPluginBase::setFieldsHelper in Search API 8

Sets the fields helper.

Parameters

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

Return value

$this

File

src/Backend/BackendPluginBase.php, line 120

Class

BackendPluginBase
Defines a base class for backend plugins.

Namespace

Drupal\search_api\Backend

Code

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