You are here

public function ResultSetInterface::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.

1 method overrides ResultSetInterface::getWarnings()
ResultSet::getWarnings in src/Query/ResultSet.php
Returns the warnings triggered by the search query.

File

src/Query/ResultSetInterface.php, line 88

Class

ResultSetInterface
Represents the result set of a search query.

Namespace

Drupal\search_api\Query

Code

public function getWarnings();