public function Database::getDataTypeHelper in Search API 8
Retrieves the data type helper.
Return value
\Drupal\search_api\Utility\DataTypeHelper The data type helper.
File
- modules/
search_api_db/ src/ Plugin/ search_api/ backend/ Database.php, line 390
Class
- Database
- Indexes and searches items using the database.
Namespace
Drupal\search_api_db\Plugin\search_api\backendCode
public function getDataTypeHelper() {
return $this->dataTypeHelper ?: \Drupal::service('search_api.data_type_helper');
}