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
Plugin
Model
Indexer
Category
Product
Execute.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Catalog\Plugin\Model\Indexer\Category\Product
;
8
9
use
Magento\Catalog\Model\Indexer\Category\Product\AbstractAction
;
10
11
class
Execute
12
{
16
protected
$config
;
17
21
protected
$typeList
;
22
27
public
function
__construct
(
28
\
Magento
\PageCache\Model\Config
$config
,
29
\
Magento
\Framework\
App
\Cache\TypeListInterface
$typeList
30
) {
31
$this->config =
$config
;
32
$this->typeList =
$typeList
;
33
}
34
42
public
function
afterExecute
(
AbstractAction
$subject,
AbstractAction
$result
)
43
{
44
if
($this->config->isEnabled()) {
45
$this->typeList->invalidate(
'full_page'
);
46
}
47
return
$result
;
48
}
49
}
$result
$result
Definition:
product_configurable_not_available_rollback.php:26
Magento\Framework\App
Magento\Catalog\Plugin\Model\Indexer\Category\Product
Definition:
Execute.php:7
Magento\Catalog\Plugin\Model\Indexer\Category\Product\Execute\$config
$config
Definition:
Execute.php:16
Magento\Catalog\Plugin\Model\Indexer\Category\Product\Execute\$typeList
$typeList
Definition:
Execute.php:21
Magento\Catalog\Model\Indexer\Category\Product\AbstractAction
Definition:
AbstractAction.php:26
Magento\Catalog\Plugin\Model\Indexer\Category\Product\Execute
Definition:
Execute.php:11
Magento
Magento\Catalog\Plugin\Model\Indexer\Category\Product\Execute\afterExecute
afterExecute(AbstractAction $subject, AbstractAction $result)
Definition:
Execute.php:42
Magento\Catalog\Plugin\Model\Indexer\Category\Product\Execute\__construct
__construct(\Magento\PageCache\Model\Config $config, \Magento\Framework\App\Cache\TypeListInterface $typeList)
Definition:
Execute.php:27