File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
app/code/Magento/AsyncConfig/Setup Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,15 @@ public function __construct(
61
61
public function getOptions ()
62
62
{
63
63
return [
64
- new SelectConfigOption (
65
- self ::INPUT_KEY_ASYNC_CONFIG_SAVE ,
66
- SelectConfigOption::FRONTEND_WIZARD_SELECT ,
67
- $ this ->selectOptions ,
68
- self ::CONFIG_PATH_ASYNC_CONFIG_SAVE ,
69
- 'Enable async Admin Config Save? 1 - Yes, 0 - No ' ,
70
- self ::DEFAULT_ASYNC_CONFIG
64
+ ObjectManager::getInstance ()->create (SelectConfigOption::class,
65
+ [
66
+ 'name ' => self ::INPUT_KEY_ASYNC_CONFIG_SAVE ,
67
+ 'frontendType ' => SelectConfigOption::FRONTEND_WIZARD_SELECT ,
68
+ 'selectOptions ' => $ this ->selectOptions ,
69
+ 'configPath ' => self ::CONFIG_PATH_ASYNC_CONFIG_SAVE ,
70
+ 'description ' => 'Enable async Admin Config Save? 1 - Yes, 0 - No ' ,
71
+ 'defaultValue ' => self ::DEFAULT_ASYNC_CONFIG
72
+ ]
71
73
),
72
74
];
73
75
}
You can’t perform that action at this time.
0 commit comments