SearchQuery::$keys
Same name in other branches
- 9 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::keys
- 8.9.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::keys
- 10 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::keys
- 11.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::keys
Positive and negative search keys.
Type: array
File
-
modules/
search/ search.extender.inc, line 51
Class
- SearchQuery
- Do a query on the full-text search index for a word or words.
Code
protected $keys = array(
'positive' => array(),
'negative' => array(),
);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.