public function TextValueInterface::setText in Search API 8
Sets the currently stored text value.
Parameters
string $text: The new text value.
Return value
$this
1 method overrides TextValueInterface::setText()
- TextValue::setText in src/
Plugin/ search_api/ data_type/ value/ TextValue.php - Sets the currently stored text value.
File
- src/
Plugin/ search_api/ data_type/ value/ TextValueInterface.php, line 39
Class
- TextValueInterface
- Provides an interface for fulltext field values.
Namespace
Drupal\search_api\Plugin\search_api\data_type\valueCode
public function setText($text);