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
magento2-base
dev
tests
integration
testsuite
Magento
Paypal
Fixtures
process_config_data.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
use
Magento\Config\Model\Config
;
9
use
Magento\Framework\App\Config\Storage\WriterInterface
;
10
11
$processConfigData
=
function
(
Config
$config
, array
$data
) {
12
foreach
(
$data
as $key =>
$value
) {
13
$config
->setDataByPath($key,
$value
);
14
$config
->save();
15
}
16
};
17
18
$deleteConfigData
=
function
(
WriterInterface
$writer, array
$configData
,
string
$scope,
int
$scopeId) {
19
foreach
(
$configData
as
$path
) {
20
$writer->
delete
(
$path
, $scope, $scopeId);
21
}
22
};
$config
$config
Definition:
fraud_order.php:17
$processConfigData
$processConfigData
Definition:
process_config_data.php:11
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
$value
$value
Definition:
gender.phtml:16
Magento\Framework\App\Config\Storage\WriterInterface\delete
delete($path, $scope=ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeId=0)
$configData
$configData
Definition:
payment_configuration.php:26
$deleteConfigData
$deleteConfigData
Definition:
process_config_data.php:18
Magento\Config\Model\Config
Magento\Framework\App\Config
Definition:
Config.php:17
$path
$path
Definition:
import_with_filesystem_images.php:14
Magento\Framework\App\Config\Storage\WriterInterface
Definition:
WriterInterface.php:16