function SearchQuery::getStatus
Same name in other branches
- 9 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::getStatus()
- 8.9.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::getStatus()
- 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:
- SearchQuery::NO_POSITIVE_KEYWORDS
- SearchQuery::EXPRESSIONS_IGNORED
- SearchQuery::LOWER_CASE_OR
- SearchQuery::NO_KEYWORD_MATCHES
File
-
core/
modules/ search/ src/ SearchQuery.php, line 645
Class
- SearchQuery
- Search query extender and helper functions.
Namespace
Drupal\searchCode
public function getStatus() {
return $this->status;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.