You are here

public function QueryInterface::getKeys in Search API 8

Retrieves the search keys for this query.

Return value

array|string|null This object's search keys, in the format described by \Drupal\search_api\ParseMode\ParseModeInterface::parseInput(). Or NULL if the query doesn't have any search keys set.

See also

keys()

1 method overrides QueryInterface::getKeys()
Query::getKeys in src/Query/Query.php
Retrieves the search keys for this query.

File

src/Query/QueryInterface.php, line 359

Class

QueryInterface
Represents a search query on a Search API index.

Namespace

Drupal\search_api\Query

Code

public function &getKeys();