AvailabilityFlagInterface
Magento\Catalog\Model\Layer\AvailabilityFlagInterface
What it does
This interface defines a contract for checking whether a catalog layer filter is enabled and available for use.
Developers implement this interface to create custom logic that determines if specific filters should be active in product listing pages based on the layer context and existing filters.
It's commonly used in layered navigation customizations to control filter visibility dynamically.
Public Methods
- isEnabled()