public function FieldInterface::getOriginalType in Search API 8
Retrieves the original data type of this field.
This is the Drupal data type of the original property definition, which might not be a valid Search API data type. Instead it has to be a type that is recognized by \Drupal\Core\TypedData\TypedDataManager::createDataDefinition().
Return value
string The original data type.
1 method overrides FieldInterface::getOriginalType()
- Field::getOriginalType in src/
Item/ Field.php - Retrieves the original data type of this field.
File
- src/
Item/ FieldInterface.php, line 321
Class
- FieldInterface
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function getOriginalType();