You are here

public function TextValue::__toString in Search API 8

Implements the magic __toString() method.

File

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

Class

TextValue
Represents a single value of a fulltext field.

Namespace

Drupal\search_api\Plugin\search_api\data_type\value

Code

public function __toString() {
  return $this
    ->toText();
}