SearchQuery::$keys

Same name in other branches
  1. 9 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::keys
  2. 8.9.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::keys
  3. 10 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::keys
  4. 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.