You are here

public function ViewsSearchQuery::matches in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 54
Contains \Drupal\search\ViewsSearchQuery.

Class

ViewsSearchQuery
Extends the core SearchQuery to be able to gets its protected values.

Namespace

Drupal\search

Code

public function matches() {
  return $this->matches;
}