Skip to content

Commit e3b9ecf

Browse files
author
Roman Lytvynenko
committed
MC-18348: Unable to set "No layout updates" for category with enabled page builder module
1 parent f052990 commit e3b9ecf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Catalog/Model/Plugin/SetPageLayoutDefaultValue.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
use Magento\Catalog\Model\Category\DataProvider;
1414
use Magento\Framework\Exception\NoSuchEntityException;
15-
16-
/** Set the default value for Category Design Layout if provided */
15+
/** Sets the default value for Category Design Layout if provided */
1716
class SetPageLayoutDefaultValue
1817
{
1918
private $defaultValue;
@@ -28,6 +27,8 @@ public function __construct(string $defaultValue = "")
2827
}
2928

3029
/**
30+
* Sets the default value for Category Design Layout in data provider if provided
31+
*
3132
* @param DataProvider $subject
3233
* @param array $result
3334
* @return array

app/code/Magento/Ui/Component/Form/Field/DefaultValue.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Magento\Framework\App\Config\ScopeConfigInterface;
1111
use Magento\Framework\View\Element\UiComponent\ContextInterface;
1212
use Magento\Framework\View\Element\UiComponentFactory;
13-
1413
/** Field class has dynamic default value based on System Configuration path */
1514
class DefaultValue extends \Magento\Ui\Component\Form\Field
1615
{

0 commit comments

Comments
 (0)