You are here

public function SoulMate::getFieldsHelper in Search API 8

Retrieves the fields helper.

Return value

\Drupal\search_api\Utility\FieldsHelperInterface The fields helper.

Overrides ProcessorPluginBase::getFieldsHelper

File

tests/search_api_test_extraction/src/Plugin/search_api/processor/SoulMate.php, line 88

Class

SoulMate
Adds the user's soul mate node for indexing.

Namespace

Drupal\search_api_test_extraction\Plugin\search_api\processor

Code

public function getFieldsHelper() {
  return $this->fieldsHelper ?: \Drupal::service('search_api.fields_helper');
}