SearchQuery::$keys

Same name in other branches
  1. 7.x modules/search/search.extender.inc \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

Parsed-out positive and negative search keys.

Type: array

File

core/modules/search/src/SearchQuery.php, line 98

Class

SearchQuery
Search query extender and helper functions.

Namespace

Drupal\search

Code

protected $keys = [
    'positive' => [],
    'negative' => [],
];

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