You are here

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

Overrides QueryInterface::getKeys

See also

keys()

File

src/Query/Query.php, line 657

Class

Query
Provides a standard implementation for a Search API query.

Namespace

Drupal\search_api\Query

Code

public function &getKeys() {
  return $this->keys;
}