public function DataTypeHelperInterface::getDataTypeFallbackMapping in Search API 8
Retrieves the necessary type fallbacks for an index.
Parameters
\Drupal\search_api\IndexInterface $index: The index for which to return the type fallbacks.
Return value
string[] An array containing the IDs of all custom data types that are not supported by the index's current server, mapped to their fallback types.
1 method overrides DataTypeHelperInterface::getDataTypeFallbackMapping()
- DataTypeHelper::getDataTypeFallbackMapping in src/
Utility/ DataTypeHelper.php - Retrieves the necessary type fallbacks for an index.
File
- src/
Utility/ DataTypeHelperInterface.php, line 47
Class
- DataTypeHelperInterface
- Provides an interface for implementations of the data type helper service.
Namespace
Drupal\search_api\UtilityCode
public function getDataTypeFallbackMapping(IndexInterface $index);