function ViewsSearchQuery::simple

Same name in other branches
  1. 9 core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery::simple()
  2. 8.9.x core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery::simple()
  3. 10 core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery::simple()

Returns the simple property.

Return value

bool TRUE if it is a simple query, and FALSE if it is complicated (phrases or LIKE).

File

core/modules/search/src/ViewsSearchQuery.php, line 39

Class

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

Namespace

Drupal\search

Code

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

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