function SearchQuery::getStatus

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

Returns the query status bitmap.

Return value

int A bitmap indicating query status. Zero indicates there were no problems. A non-zero value is a combination of one or more of the following flags:

File

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

Class

SearchQuery
Search query extender and helper functions.

Namespace

Drupal\search

Code

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

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