Same name and namespace in other branches
  1. 8.9.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::getStatus()
  2. 9 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 644

Class

SearchQuery
Search query extender and helper functions.

Namespace

Drupal\search

Code

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