Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-catalog-rule
Plugin
Indexer
Website.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\CatalogRule\Plugin\Indexer
;
7
8
use
Magento\CatalogRule\Model\Indexer\Rule\RuleProductProcessor
;
9
10
class
Website
11
{
15
protected
$ruleProductProcessor
;
16
20
public
function
__construct
(
RuleProductProcessor
$ruleProductProcessor
)
21
{
22
$this->ruleProductProcessor =
$ruleProductProcessor
;
23
}
24
34
public
function
afterDelete
(
35
\
Magento
\Store\Model\
Website
$subject,
36
\
Magento
\Store\Model\
Website
$result
37
) {
38
$this->ruleProductProcessor->markIndexerAsInvalid();
39
return
$result
;
40
}
41
}
$result
$result
Definition:
product_configurable_not_available_rollback.php:26
Magento\CatalogRule\Plugin\Indexer\Website\afterDelete
afterDelete(\Magento\Store\Model\Website $subject, \Magento\Store\Model\Website $result)
Definition:
Website.php:34
Magento\CatalogRule\Model\Indexer\Rule\RuleProductProcessor
Definition:
RuleProductProcessor.php:10
Magento\CatalogRule\Plugin\Indexer
Definition:
Category.php:6
Magento\CatalogRule\Plugin\Indexer\Website\$ruleProductProcessor
$ruleProductProcessor
Definition:
Website.php:15
Magento
Magento\CatalogRule\Plugin\Indexer\Website\__construct
__construct(RuleProductProcessor $ruleProductProcessor)
Definition:
Website.php:20
Magento\CatalogRule\Plugin\Indexer\Website
Definition:
Website.php:10