public function Query::getAbortMessage in Search API 8
Retrieves the error message explaining why this query was aborted, if any.
Return value
\Drupal\Component\Render\MarkupInterface|string|null An error message, if set, or NULL if none was set. Please be aware that a NULL message does not have to mean that the query was not aborted.
Overrides QueryInterface::getAbortMessage
File
- src/
Query/ Query.php, line 512
Class
- Query
- Provides a standard implementation for a Search API query.
Namespace
Drupal\search_api\QueryCode
public function getAbortMessage() {
return !is_bool($this->aborted) ? $this->aborted : NULL;
}