You are here

public function SearchBase::getResults in Fast Autocomplete 8

Return the results for the given key.

Parameters

\Drupal\fac\FacConfigInterface $fac_config: The Fac Config object.

string $langcode: The language code.

string $key: The query string to get results for.

Return value

array The result entity ids for the given key.

Overrides SearchInterface::getResults

2 methods override SearchBase::getResults()
BasicTitleSearch::getResults in src/Plugin/Search/BasicTitleSearch.php
Return the results for the given key.
SearchApiSearch::getResults in src/Plugin/Search/SearchApiSearch.php
Return the results for the given key.

File

src/SearchBase.php, line 48

Class

SearchBase
Class SearchBase.

Namespace

Drupal\fac

Code

public function getResults(FacConfigInterface $fac_config, $langcode, $key) {
  return [];
}