You are here

public function FieldInterface::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

1 method overrides FieldInterface::setOriginalType()
Field::setOriginalType in src/Item/Field.php
Sets the original data type of this field.

File

src/Item/FieldInterface.php, line 331

Class

FieldInterface
Represents a field on a search item that can be indexed.

Namespace

Drupal\search_api\Item

Code

public function setOriginalType($original_type);