Log in
Model

FilterList

Magento\Catalog\Model\Layer\FilterList

What it does

This class manages the creation and retrieval of layered navigation filters in Magento 2 catalog pages.

Developers use it to get all available filters (category, price, attributes) for product listing pages, or to customize filter types by extending or modifying filter class mappings.

It automatically creates appropriate filter instances based on attribute types and configuration settings.

Public Methods

  • getFilters()
  • _resetState()