Skip to content

Commit 0e82323

Browse files
author
Oleksandr Gorkun
committed
MC-18685: Remove custom layout updates from admin
1 parent 1ea2179 commit 0e82323

File tree

5 files changed

+28
-8
lines changed

5 files changed

+28
-8
lines changed

app/code/Magento/Catalog/Model/Category/Attribute/Backend/LayoutUpdate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class LayoutUpdate extends AbstractLayoutUpdate
2525
private $manager;
2626

2727
/**
28-
* @param LayoutUpdateManager\Proxy $manager
28+
* @param LayoutUpdateManager $manager
2929
*/
30-
public function __construct(LayoutUpdateManager\Proxy $manager)
30+
public function __construct(LayoutUpdateManager $manager)
3131
{
3232
$this->manager = $manager;
3333
}

app/code/Magento/Catalog/Model/Category/Attribute/Source/LayoutUpdate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ class LayoutUpdate extends AbstractLayoutUpdate
2323
private $manager;
2424

2525
/**
26-
* @param LayoutUpdateManager\Proxy $manager
26+
* @param LayoutUpdateManager $manager
2727
*/
28-
public function __construct(LayoutUpdateManager\Proxy $manager)
28+
public function __construct(LayoutUpdateManager $manager)
2929
{
3030
$this->manager = $manager;
3131
}

app/code/Magento/Catalog/Model/Product/Attribute/Backend/LayoutUpdate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class LayoutUpdate extends AbstractLayoutUpdate
2525
private $manager;
2626

2727
/**
28-
* @param LayoutUpdateManager\Proxy $manager
28+
* @param LayoutUpdateManager $manager
2929
*/
30-
public function __construct(LayoutUpdateManager\Proxy $manager)
30+
public function __construct(LayoutUpdateManager $manager)
3131
{
3232
$this->manager = $manager;
3333
}

app/code/Magento/Catalog/Model/Product/Attribute/Source/LayoutUpdate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ class LayoutUpdate extends AbstractLayoutUpdate
2323
private $manager;
2424

2525
/**
26-
* @param LayoutUpdateManager\Proxy $manager
26+
* @param LayoutUpdateManager $manager
2727
*/
28-
public function __construct(LayoutUpdateManager\Proxy $manager)
28+
public function __construct(LayoutUpdateManager $manager)
2929
{
3030
$this->manager = $manager;
3131
}

app/code/Magento/Catalog/etc/di.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,4 +1186,24 @@
11861186
<argument name="themeFactory" xsi:type="object">Magento\Framework\View\Design\Theme\FlyweightFactory\Proxy</argument>
11871187
</arguments>
11881188
</type>
1189+
<type name="Magento\Catalog\Model\Category\Attribute\Backend\LayoutUpdate">
1190+
<arguments>
1191+
<argument name="manager" xsi:type="object">Magento\Catalog\Model\Category\Attribute\LayoutUpdateManager\Proxy</argument>
1192+
</arguments>
1193+
</type>
1194+
<type name="Magento\Catalog\Model\Category\Attribute\Source\LayoutUpdate">
1195+
<arguments>
1196+
<argument name="manager" xsi:type="object">Magento\Catalog\Model\Category\Attribute\LayoutUpdateManager\Proxy</argument>
1197+
</arguments>
1198+
</type>
1199+
<type name="Magento\Catalog\Model\Product\Attribute\Backend\LayoutUpdate">
1200+
<arguments>
1201+
<argument name="manager" xsi:type="object">Magento\Catalog\Model\Product\Attribute\LayoutUpdateManager\Proxy</argument>
1202+
</arguments>
1203+
</type>
1204+
<type name="Magento\Catalog\Model\Product\Attribute\Source\LayoutUpdate">
1205+
<arguments>
1206+
<argument name="manager" xsi:type="object">Magento\Catalog\Model\Product\Attribute\LayoutUpdateManager\Proxy</argument>
1207+
</arguments>
1208+
</type>
11891209
</config>

0 commit comments

Comments
 (0)