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\UtilityCode
public function __construct(ElementInfoManagerInterface $element_info) {
$this->elementInfo = $element_info;
}