You are here

public function Query::wasAborted in Search API 8

Determines whether this query was aborted.

Return value

bool TRUE if the query was aborted, FALSE otherwise.

Overrides QueryInterface::wasAborted

1 call to Query::wasAborted()
Query::shouldAbort in src/Query/Query.php
Determines whether the query should be aborted.

File

src/Query/Query.php, line 505

Class

Query
Provides a standard implementation for a Search API query.

Namespace

Drupal\search_api\Query

Code

public function wasAborted() {
  return $this->aborted !== NULL;
}