You are here

public function ResultSet::getWarnings in Search API 8

Returns the warnings triggered by the search query.

Return value

string[] An array of translated, sanitized warning messages that may be displayed to the user.

Overrides ResultSetInterface::getWarnings

1 call to ResultSet::getWarnings()
ResultSet::__toString in src/Query/ResultSet.php
Implements the magic __toString() method to simplify debugging.

File

src/Query/ResultSet.php, line 138

Class

ResultSet
Represents the result set of a search query.

Namespace

Drupal\search_api\Query

Code

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