public function HtmlFilter::getDataTypeHelper in Search API 8
Retrieves the data type helper.
Return value
\Drupal\search_api\Utility\DataTypeHelperInterface The data type helper.
Overrides FieldsProcessorPluginBase::getDataTypeHelper
File
- src/
Plugin/ search_api/ processor/ HtmlFilter.php, line 47
Class
- HtmlFilter
- Strips HTML tags from fulltext fields and decodes HTML entities.
Namespace
Drupal\search_api\Plugin\search_api\processorCode
public function getDataTypeHelper() {
return $this->dataTypeHelper ?: \Drupal::service('search_api.data_type_helper');
}