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
CustomerGroup.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
use
Magento\Customer\Model\Group
;
10
11
class
CustomerGroup
12
{
16
protected
$ruleProductProcessor
;
17
21
public
function
__construct
(
RuleProductProcessor
$ruleProductProcessor
)
22
{
23
$this->ruleProductProcessor =
$ruleProductProcessor
;
24
}
25
33
public
function
afterDelete
(
34
Group
$subject,
35
Group
$result
36
) {
37
$this->ruleProductProcessor->markIndexerAsInvalid();
38
return
$result
;
39
}
40
}
$result
$result
Definition:
product_configurable_not_available_rollback.php:26
Magento\CatalogRule\Plugin\Indexer\CustomerGroup\$ruleProductProcessor
$ruleProductProcessor
Definition:
CustomerGroup.php:16
Magento\Customer\Model\Group
Definition:
Group.php:18
Magento\Customer\Model\Group
Definition:
Retriever.php:6
Magento\CatalogRule\Model\Indexer\Rule\RuleProductProcessor
Definition:
RuleProductProcessor.php:10
Magento\CatalogRule\Plugin\Indexer
Definition:
Category.php:6
Magento\CatalogRule\Plugin\Indexer\CustomerGroup\afterDelete
afterDelete(Group $subject, Group $result)
Definition:
CustomerGroup.php:33
Magento\CatalogRule\Plugin\Indexer\CustomerGroup
Definition:
CustomerGroup.php:11
Magento\CatalogRule\Plugin\Indexer\CustomerGroup\__construct
__construct(RuleProductProcessor $ruleProductProcessor)
Definition:
CustomerGroup.php:21