File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 22
22
* @method int getThemeId()
23
23
*
24
24
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
25
+ * @SuppressWarnings(PHPMD.TooManyFields)
25
26
* @since 100.0.2
26
27
*/
27
28
class Instance extends \Magento \Framework \Model \AbstractModel
@@ -96,6 +97,16 @@ class Instance extends \Magento\Framework\Model\AbstractModel
96
97
*/
97
98
protected $ _relatedCacheTypes ;
98
99
100
+ /**
101
+ * @var \Magento\Catalog\Model\Product\Type
102
+ */
103
+ protected $ _productType ;
104
+
105
+ /**
106
+ * @var \Magento\Widget\Model\Config\Reader
107
+ */
108
+ protected $ _reader ;
109
+
99
110
/**
100
111
* @var \Magento\Framework\Escaper
101
112
*/
Original file line number Diff line number Diff line change 41
41
</parameter >
42
42
<parameter name =" id_path" xsi : type =" block" visible =" true" required =" true" sort_order =" 10" >
43
43
<label translate =" true" >Product</label >
44
- <block class =" Magento\Backend \Block\Catalog \Product\Widget\Chooser" >
44
+ <block class =" Magento\Catalog \Block\Adminhtml \Product\Widget\Chooser" >
45
45
<data >
46
46
<item name =" button" xsi : type =" array" >
47
47
<item name =" open" xsi : type =" string" translate =" true" >Select Product...</item >
Original file line number Diff line number Diff line change 48
48
'type ' => 'label ' ,
49
49
'@ ' => ['type ' => 'complex ' ],
50
50
'helper_block ' => [
51
- 'type ' => \Magento \Backend \Block \Catalog \Product \Widget \Chooser::class,
51
+ 'type ' => \Magento \Catalog \Block \Adminhtml \Product \Widget \Chooser::class,
52
52
'data ' => ['button ' => ['open ' => 'Select Product... ' ]],
53
53
],
54
54
'visible ' => '1 ' ,
You can’t perform that action at this time.
0 commit comments