Log in
Model

LayerCategoryConfig

Magento\Catalog\Model\Config\LayerCategoryConfig

What it does

This class provides configuration settings for controlling whether the category filter appears in Magento's layered navigation (filtering sidebar).

Developers use this class to programmatically check if the category filter should be displayed based on store configuration settings, which is useful when building custom layered navigation or catalog filtering features.

Public Methods

  • isCategoryFilterVisibleInLayerNavigation()