You are here

public function AutocompleteHelper::__construct in Search API Autocomplete 8

Constructs a new class instance.

Parameters

\Drupal\Core\Render\ElementInfoManagerInterface $element_info: The element info manager.

File

src/Utility/AutocompleteHelper.php, line 29

Class

AutocompleteHelper
Provides helper methods for creating autocomplete suggestions.

Namespace

Drupal\search_api_autocomplete\Utility

Code

public function __construct(ElementInfoManagerInterface $element_info) {
  $this->elementInfo = $element_info;
}