Skip to content

Commit aaa7379

Browse files
committed
Move class StoreView to store module issue 24387
1 parent 24c022e commit aaa7379

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/code/Magento/Cms/view/adminhtml/ui_component/cms_block_form.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
<dataScope>identifier</dataScope>
112112
</settings>
113113
</field>
114-
<field name="storeviews" formElement="multiselect" class="Magento\Cms\Ui\Component\Form\Field\StoreView">
114+
<field name="storeviews" formElement="multiselect" class="Magento\Store\Ui\Component\Form\Field\StoreView">
115115
<argument name="data" xsi:type="array">
116116
<item name="config" xsi:type="array">
117117
<item name="source" xsi:type="string">block</item>

app/code/Magento/Cms/Ui/Component/Form/Field/StoreView.php renamed to app/code/Magento/Store/Ui/Component/Form/Field/StoreView.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,17 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\Cms\Ui\Component\Form\Field;
8+
namespace Magento\Store\Ui\Component\Form\Field;
99

1010
use Magento\Framework\View\Element\UiComponent\ContextInterface;
1111
use Magento\Framework\View\Element\UiComponentFactory;
12-
use Magento\Framework\View\Element\UiComponentInterface;
1312
use Magento\Store\Model\StoreManagerInterface as StoreManager;
1413
use Magento\Ui\Component\Form\Field;
1514

1615
/**
1716
* Check to disable store view field
1817
*
19-
* Class \Magento\Cms\Ui\Component\Form\Field\StoreView
18+
* Class \Magento\Store\Ui\Component\Form\Field\StoreView
2019
*/
2120
class StoreView extends Field
2221
{

0 commit comments

Comments
 (0)