You are here

public function QueryInterface::getLanguages in Search API 8

Retrieves the languages that will be searched by this query.

Return value

string[]|null The language codes of languages that will be searched by this query, or NULL if there shouldn't be any restriction on the language.

1 method overrides QueryInterface::getLanguages()
Query::getLanguages in src/Query/Query.php
Retrieves the languages that will be searched by this query.

File

src/Query/QueryInterface.php, line 140

Class

QueryInterface
Represents a search query on a Search API index.

Namespace

Drupal\search_api\Query

Code

public function getLanguages();