public function ViewsSearchQuery::words in Drupal 10
Same name and namespace in other branches
- 8 core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery::words()
- 9 core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery::words()
Returns the words property.
Return value
array The positive search keywords.
File
- core/
modules/ search/ src/ ViewsSearchQuery.php, line 28
Class
- ViewsSearchQuery
- Extends the core SearchQuery to be able to gets its protected values.
Namespace
Drupal\searchCode
public function words() {
return $this->words;
}