SearchQuery::$matches
Same name in other branches
- 7.x modules/search/search.extender.inc \SearchQuery::matches
- 8.9.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::matches
- 10 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::matches
- 11.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::matches
Indicates how many matches for a search query are necessary.
Type: int
File
-
core/
modules/ search/ src/ SearchQuery.php, line 122
Class
- SearchQuery
- Search query extender and helper functions.
Namespace
Drupal\searchCode
protected $matches = 0;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.