Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\CatalogInventory\Helper\Stock $stockHelper, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig) | |
beforePrepareProductCollection (\Magento\Catalog\Model\Layer $subject, \Magento\Catalog\Model\ResourceModel\Collection\AbstractCollection $collection) | |
Protected Member Functions | |
_isEnabledShowOutOfStock () | |
Protected Attributes | |
$stockHelper | |
$scopeConfig | |
__construct | ( | \Magento\CatalogInventory\Helper\Stock | $stockHelper, |
\Magento\Framework\App\Config\ScopeConfigInterface | $scopeConfig | ||
) |
|
protected |
beforePrepareProductCollection | ( | \Magento\Catalog\Model\Layer | $subject, |
\Magento\Catalog\Model\ResourceModel\Collection\AbstractCollection | $collection | ||
) |
Before prepare product collection handler
\Magento\Catalog\Model\Layer | $subject | |
\Magento\Catalog\Model\ResourceModel\Collection\AbstractCollection | $collection |
Definition at line 45 of file Layer.php.