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-sales
Model
Config
Backend
Grid
AsyncIndexing.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Sales\Model\Config\Backend\Grid
;
7
12
class
AsyncIndexing
extends
\Magento\Framework\App\Config\Value
13
{
25
public
function
afterSave
()
26
{
27
if
($this->
isValueChanged
()) {
28
$state = $this->
getValue
() ?
'enabled'
:
'disabled'
;
29
30
$this->_eventManager->dispatch(
31
$this->_eventPrefix .
'_dev_grid_async_indexing_'
. $state,
32
$this->
_getEventData
()
33
);
34
}
35
36
return
$this;
37
}
38
}
Magento\Sales\Model\Config\Backend\Grid\AsyncIndexing\afterSave
afterSave()
Definition:
AsyncIndexing.php:25
Magento\Framework\App\Config\Value\isValueChanged
isValueChanged()
Definition:
Value.php:84
Magento\Sales\Model\Config\Backend\Grid
Definition:
AsyncIndexing.php:6
Magento\Framework\Model\AbstractModel\_getEventData
_getEventData()
Definition:
AbstractModel.php:546
Magento\Sales\Model\Config\Backend\Grid\AsyncIndexing
Definition:
AsyncIndexing.php:12
Magento\Framework\App\Config\getValue
getValue( $path=null, $scope=ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeCode=null)
Definition:
Config.php:56