You are here

public function HtmlFilter::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

Overrides FieldsProcessorPluginBase::setDataTypeHelper

File

src/Plugin/search_api/processor/HtmlFilter.php, line 59

Class

HtmlFilter
Strips HTML tags from fulltext fields and decodes HTML entities.

Namespace

Drupal\search_api\Plugin\search_api\processor

Code

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