You are here

public function Glossary::getDataTypeHelper in Search API AZ Glossary 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/search_api/processor/Glossary.php \Drupal\search_api_glossary\Plugin\search_api\processor\Glossary::getDataTypeHelper()

Retrieves the data type helper.

Return value

\Drupal\search_api\Utility\DataTypeHelperInterface The data type helper.

File

src/Plugin/search_api/processor/Glossary.php, line 249

Class

Glossary
Adds the item's AZ to the indexed data.

Namespace

Drupal\search_api_glossary\Plugin\search_api\processor

Code

public function getDataTypeHelper() {
  return $this->dataTypeHelper ?: \Drupal::service('search_api.data_type_helper');
}