FilterInterface
Magento\Catalog\Model\Layer\Filter\FilterInterface
What it does
This interface defines the contract for layered navigation filters in Magento 2 catalog pages.
Developers implement this interface when creating custom product filters (like price, category, or attribute filters) that appear in the sidebar of category pages.
It provides methods to apply filters to product collections, manage filter items, handle user selections, and integrate with the catalog layer system.
Public Methods
- setRequestVar()
- getRequestVar()
- getResetValue()
- getCleanValue()
- apply()
- getItemsCount()
- getItems()
- setItems()
- getLayer()
- setAttributeModel()
- getAttributeModel()
- getName()
- getStoreId()
- setStoreId()
- getWebsiteId()
- setWebsiteId()
- getClearLinkText()