Interface
CollectionFilterInterface
Magento\Catalog\Model\Layer\CollectionFilterInterface
What it does
This interface defines a contract for filtering product collections based on category context in Magento's catalog layer.
Developers implement this interface to create custom collection filters that determine which products should be displayed within a specific category, controlling visibility and product selection logic in layered navigation and catalog pages.
Public Methods
- filter()