function ViewsSearchQuery::matches
Same name in other branches
- 9 core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery::matches()
- 8.9.x core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery::matches()
- 11.x core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery::matches()
Returns the matches property.
Return value
int The number of matches needed.
File
-
core/
modules/ search/ src/ ViewsSearchQuery.php, line 49
Class
- ViewsSearchQuery
- Extends the core SearchQuery to be able to gets its protected values.
Namespace
Drupal\searchCode
public function matches() {
return $this->matches;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.