You are here

public function DataTypeHelperInterface::getFieldTypeMapping in Search API 8

Retrieves the mapping for known data types to Search API's internal types.

Return value

string[] An array mapping all known (and supported) Drupal data types to their corresponding Search API data types. Empty values mean that fields of that type should be ignored by the Search API.

See also

hook_search_api_field_type_mapping_alter()

1 method overrides DataTypeHelperInterface::getFieldTypeMapping()
DataTypeHelper::getFieldTypeMapping in src/Utility/DataTypeHelper.php
Retrieves the mapping for known data types to Search API's internal types.

File

src/Utility/DataTypeHelperInterface.php, line 35

Class

DataTypeHelperInterface
Provides an interface for implementations of the data type helper service.

Namespace

Drupal\search_api\Utility

Code

public function getFieldTypeMapping();