public function TextValueInterface::getTokens in Search API 8
Retrieves the text tokens this text value was split into, if any.
Return value
\Drupal\search_api\Plugin\search_api\data_type\value\TextTokenInterface[]|null The text tokens this text value was split into, or NULL if the value has not been tokenized in any way yet.
1 method overrides TextValueInterface::getTokens()
- TextValue::getTokens in src/
Plugin/ search_api/ data_type/ value/ TextValue.php - Retrieves the text tokens this text value was split into, if any.
File
- src/
Plugin/ search_api/ data_type/ value/ TextValueInterface.php, line 66
Class
- TextValueInterface
- Provides an interface for fulltext field values.
Namespace
Drupal\search_api\Plugin\search_api\data_type\valueCode
public function getTokens();