You are here

public function SavedSearchInterface::getQuery in Search API Saved Searches 8

Retrieves the search query of this saved search.

Return value

\Drupal\search_api\Query\QueryInterface|null The search query of this saved search, or NULL if it couldn't be retrieved.

1 method overrides SavedSearchInterface::getQuery()
SavedSearch::getQuery in src/Entity/SavedSearch.php
Retrieves the search query of this saved search.

File

src/SavedSearchInterface.php, line 32

Class

SavedSearchInterface
Provides an interface for saved search entities.

Namespace

Drupal\search_api_saved_searches

Code

public function getQuery();