public function TextValueInterface::toText in Search API 8
Retrieves the current effective text value.
This will be a concatenation of all tokens' text values, if tokens have been set, or the currently stored text value otherwise.
Return value
string The effective text value for this object.
1 method overrides TextValueInterface::toText()
- TextValue::toText in src/
Plugin/ search_api/ data_type/ value/ TextValue.php - Retrieves the current effective text value.
File
- src/
Plugin/ search_api/ data_type/ value/ TextValueInterface.php, line 29
Class
- TextValueInterface
- Provides an interface for fulltext field values.
Namespace
Drupal\search_api\Plugin\search_api\data_type\valueCode
public function toText();