You are here

public function TextValue::setOriginalText in Search API 8

Sets the original text value.

Parameters

string $originalText: The new original text value.

Return value

$this

Overrides TextValueInterface::setOriginalText

File

src/Plugin/search_api/data_type/value/TextValue.php, line 87

Class

TextValue
Represents a single value of a fulltext field.

Namespace

Drupal\search_api\Plugin\search_api\data_type\value

Code

public function setOriginalText($originalText) {
  $this->originalText = $originalText;
  return $this;
}