SearchQuery::$searchExpression

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

The search query that is used for searching.

Type: string

File

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

Class

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

Code

protected $searchExpression;

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