You are here

public function FieldsProcessorPluginBase::setDataTypeHelper in Search API 8

Sets the data type helper.

Parameters

\Drupal\search_api\Utility\DataTypeHelperInterface $data_type_helper: The new data type helper.

Return value

$this

1 method overrides FieldsProcessorPluginBase::setDataTypeHelper()
HtmlFilter::setDataTypeHelper in src/Plugin/search_api/processor/HtmlFilter.php
Sets the data type helper.

File

src/Processor/FieldsProcessorPluginBase.php, line 94

Class

FieldsProcessorPluginBase
Provides a base class for processors that work on individual fields.

Namespace

Drupal\search_api\Processor

Code

public function setDataTypeHelper(DataTypeHelperInterface $data_type_helper) {
  $this->dataTypeHelper = $data_type_helper;
  return $this;
}