public function Field::setOriginalType in Search API 8
Sets the original data type of this field.
Parameters
string $original_type: The field's original data type.
Return value
$this
Overrides FieldInterface::setOriginalType
File
- src/
Item/ Field.php, line 585
Class
- Field
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function setOriginalType($original_type) {
$this->originalType = $original_type;
return $this;
}