public beforePrepareProductCollection ( Magento\Catalog\Model\Layer $layer, Magento\Catalog\Model\ResourceModel\Collection\AbstractCollection $collection ) | ||
$layer | Magento\Catalog\Model\Layer | |
$collection | Magento\Catalog\Model\ResourceModel\Collection\AbstractCollection |