function ViewsSearchQuery::words

Same name in other branches
  1. 9 core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery::words()
  2. 8.9.x core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery::words()
  3. 11.x 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\search

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.