SearchQuery::$words

Same name in other branches
  1. 9 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::words
  2. 8.9.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::words
  3. 10 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::words
  4. 11.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::words

Array of search words.

These words have to match against {search_index}.word.

Type: array

File

modules/search/search.extender.inc, line 84

Class

SearchQuery
Do a query on the full-text search index for a word or words.

Code

protected $words = array();

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