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-cron
Model
System
Config
Initial
Converter.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Cron\Model\System\Config\Initial
;
7
8
class
Converter
9
{
13
protected
$groupsConfig
;
14
18
public
function
__construct
(\
Magento
\Cron\Model\Groups\
Config
\Data
$groupsConfig
)
19
{
20
$this->groupsConfig =
$groupsConfig
;
21
}
22
32
public
function
afterConvert
(\
Magento
\Framework\
App
\
Config
\Initial\
Converter
$subject, array
$result
)
33
{
34
if
(isset(
$result
[
'data'
][
'default'
][
'system'
])) {
35
$groups = $this->groupsConfig->get();
36
foreach
($groups as
$group
=>
$fields
) {
37
foreach
(
$fields
as $key => $field) {
38
$groups[
$group
][$key] = $field[
'value'
];
39
}
40
}
41
$result
[
'data'
][
'default'
][
'system'
][
'cron'
] = $groups;
42
}
43
return
$result
;
44
}
45
}
$result
$result
Definition:
product_configurable_not_available_rollback.php:26
Magento\Framework\App
$group
$group
Definition:
sections.phtml:16
$fields
$fields
Definition:
details.phtml:14
Magento\Cron\Model\System\Config\Initial\Converter\__construct
__construct(\Magento\Cron\Model\Groups\Config\Data $groupsConfig)
Definition:
Converter.php:18
Magento
Magento\Cron\Model\System\Config\Initial
Definition:
Converter.php:6
Magento\Cron\Model\Config
Definition:
Config.php:11
Magento\Cron\Model\System\Config\Initial\Converter\afterConvert
afterConvert(\Magento\Framework\App\Config\Initial\Converter $subject, array $result)
Definition:
Converter.php:32
Magento\Cron\Model\System\Config\Initial\Converter
Definition:
Converter.php:8
Magento\Cron\Model\System\Config\Initial\Converter\$groupsConfig
$groupsConfig
Definition:
Converter.php:13