Log in
Interface

AutocompleteInterface

Magento\Search\Model\AutocompleteInterface

What it does

This interface defines the contract for autocomplete functionality in Magento's search system.

Developers implement this interface when creating custom autocomplete providers that return search suggestions as users type in the search box.

The getItems() method returns an array of autocomplete items to be displayed to the user.

Public Methods

  • getItems()