File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
app/code/Magento/PageBuilder
AdminCatalogCategoryDisablePageBuilderTest
AdminCatalogProductDisablePageBuilderTest Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class Wysiwyg extends \Magento\Ui\Component\Form\Element\Wysiwyg
39
39
* @param array $config
40
40
* @param PageBuilderConfig|null $pageBuilderConfig
41
41
* @param bool $overrideSnapshot
42
- * @suppresswarnings (PHPMD.ExcessiveParameterList)
42
+ * @SuppressWarnings (PHPMD.ExcessiveParameterList)
43
43
*/
44
44
public function __construct (
45
45
ContextInterface $ context ,
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function getContentTypes(): array
68
68
public function isEnabled (): bool
69
69
{
70
70
return (bool )$ this ->scopeConfig ->getValue (
71
- \ Magento \ PageBuilder \ Model \Config ::IS_PAGEBUILDER_ENABLED
71
+ self ::IS_PAGEBUILDER_ENABLED
72
72
);
73
73
}
74
74
@@ -80,7 +80,7 @@ public function isEnabled(): bool
80
80
public function isContentPreviewEnabled (): bool
81
81
{
82
82
return (bool ) $ this ->scopeConfig ->getValue (
83
- \ Magento \ PageBuilder \ Model \Config ::IS_PAGEBUILDER_CONTENT_PREVIEW_ENABLED
83
+ self ::IS_PAGEBUILDER_CONTENT_PREVIEW_ENABLED
84
84
);
85
85
}
86
86
}
Original file line number Diff line number Diff line change 26
26
<actionGroup ref =" ExpandAdminProductSectionActionGroup" stepKey =" expandAdminProductSection" />
27
27
</before >
28
28
<after >
29
- <magentoCLI command = " config:set cms/pagebuilder/enable_content_preview 1 " stepKey =" enablePageBuilderContentPreview " />
29
+ <actionGroup ref = " adminSetPageBuilderContentPreviewActionGroup " stepKey =" resetPageBuilderContentPreview " />
30
30
<deleteData createDataKey =" createCategory" stepKey =" deleteCategory" />
31
31
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
32
32
</after >
Original file line number Diff line number Diff line change 29
29
<actionGroup ref =" ExpandAdminProductSectionActionGroup" stepKey =" expandAdminProductSection" />
30
30
</before >
31
31
<after >
32
- <magentoCLI command = " config:set cms/pagebuilder/enable_content_preview 1 " stepKey =" enablePageBuilderContentPreview " />
32
+ <actionGroup ref = " adminSetPageBuilderContentPreviewActionGroup " stepKey =" resetPageBuilderContentPreview " />
33
33
<deleteData createDataKey =" createProduct" stepKey =" deleteProduct" />
34
34
<deleteData createDataKey =" createCategory" stepKey =" deleteCategory" />
35
35
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
You can’t perform that action at this time.
0 commit comments