Model
AvailabilityFlag
Magento\Catalog\Model\Layer\Category\AvailabilityFlag
What it does
This class determines whether the layered navigation (filtering options) should be displayed on category pages.
Developers use this to check if filters are available to show based on whether there are filterable options with items or if filters are currently applied in the layer state.
Public Methods
- isEnabled()