You are here

public function TextToken::getText in Search API 8

Retrieves the text value of this token.

Return value

string The text value of this token.

Overrides TextTokenInterface::getText

1 call to TextToken::getText()
TextToken::__toString in src/Plugin/search_api/data_type/value/TextToken.php
Implements the magic __toString() method.

File

src/Plugin/search_api/data_type/value/TextToken.php, line 42

Class

TextToken
Represents a single text token contained in a fulltext field's value.

Namespace

Drupal\search_api\Plugin\search_api\data_type\value

Code

public function getText() {
  return $this->text;
}