protected function SpellCheck::getCurrentQuery in Search API Spellcheck 8
Gets the current query parameters.
Return value
array Key value of parameters.
File
- src/
Plugin/ views/ area/ SpellCheck.php, line 182
Class
- SpellCheck
- Provides an area for messages.
Namespace
Drupal\search_api_spellcheck\Plugin\views\areaCode
protected function getCurrentQuery() {
if (NULL === $this->currentQuery) {
$this->currentQuery = \Drupal::request()->query
->all();
}
return $this->currentQuery;
}